File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ GIT_VER_DIR=$(get_script_dir)
1717command=" bash $( get_script_dir) /git-ver-$1 "
1818
1919if [[ -f " $GIT_VER_DIR /git-ver-$1 " ]]; then
20- ( export GIT_VER_VERSION; bash -c $command ${*: 2} )
20+ ( export GIT_VER_VERSION; $command ${*: 2} )
2121else
2222 echo >&2 " Unknown command: $1 ." ;
2323 exit 1;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ get_script_dir () {
1515get_suffix () {
1616 GIT_VER_DIR=$( get_script_dir)
1717 # local system defaults. These are overridden by appveyor
18- local rev=" $( $GIT_VER_DIR /git-ver get-rev -a ) "
18+ local rev=" $( $GIT_VER_DIR /git-ver get-rev) "
1919 local suffix=" $( git rev-parse --symbolic --tags | sort -i | tail -1 | sed -e ' s/\(.*\)\([-]\)\(.*\)/\3/' ) .$rev "
2020 local branch_name=$( git rev-parse --abbrev-ref HEAD)
2121 if [[ " $APPVEYOR " == true ]]; then
You can’t perform that action at this time.
0 commit comments