From fa6c563e5b278be61e15149abbc75376bdbc3330 Mon Sep 17 00:00:00 2001 From: Jeremy Lakeman Date: Wed, 5 Mar 2014 10:26:54 -0800 Subject: [PATCH] Cleanup git version arguments --- version_string.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version_string.sh b/version_string.sh index 1e76bbb8..c17fa4a3 100755 --- a/version_string.sh +++ b/version_string.sh @@ -140,7 +140,7 @@ fi # Use the "git describe" command to form the version string and append $dirty. # This ugly construction is required for use on machines with bash version < 4. -error="$(git describe --match="$version_tag_glob $refspec" 2>&1 1>/dev/null)" || true +error="$(git describe --match="$version_tag_glob" $refspec 2>&1 1>/dev/null)" || true if [ -z "$error" ]; then echo "$(git describe --match="$version_tag_glob" $refspec)$dirty" exit 0