diff --git a/TOOLS/idet.sh b/TOOLS/idet.sh index 983052c822..3e57a3df33 100755 --- a/TOOLS/idet.sh +++ b/TOOLS/idet.sh @@ -30,7 +30,7 @@ testfun() judge() { - out=`testfun "$@"` + out="$(testfun "$@")" tff=${out##* TFF:}; tff=${tff%% *} bff=${out##* BFF:}; bff=${bff%% *} diff --git a/version.sh b/version.sh index bd8ca48741..37802c6571 100755 --- a/version.sh +++ b/version.sh @@ -21,7 +21,7 @@ done # Extract revision number from file used by daily tarball snapshots # or from "git describe" output git_revision=$(cat snapshot_version 2> /dev/null) -test $git_revision || test ! -e .git || git_revision=`git rev-parse --short HEAD` +test $git_revision || test ! -e .git || git_revision=$(git rev-parse --short HEAD) test $git_revision && git_revision=git-$git_revision version="$git_revision"