Changeset 3652


Ignore:
Timestamp:
Aug 10, 2016 9:41:50 AM (3 years ago)
Author:
tkr
Message:

Account for variations in return of git remote command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/get.dependencies.sh

    r3651 r3652  
    621621    main_proj=`fgrep AC_INIT configure.ac | cut -d '[' -f 2 | cut -d ']' -f 1`
    622622elif git remote > /dev/null; then
    623     main_proj=`git remote show origin | fgrep "Fetch URL" | xargs | cut -d " " -f 3 | cut -d "/" -f 5`
     623    main_proj=`git remote show origin | fgrep "Fetch URL" | xargs | cut -d " " -f 3 | cut -d "/" -f 5 | cut -d "." -f 1`
    624624elif svn info; then
    625625    main_proj=`svn info | fgrep "URL: https" | cut -d " " -f 2 | cut -d "/" -f 5`
Note: See TracChangeset for help on using the changeset viewer.