summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xscripts/version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/version.sh b/scripts/version.sh
index f3948bc..2de4c21 100755
--- a/scripts/version.sh
+++ b/scripts/version.sh
@@ -9,7 +9,7 @@ if test -d "${GIT_DIR}" ; then
if test "x$?" != x0 ; then
sed 's/$/-git/' < VERSION
else
- printf "%s\n" "$gitstr" | sed -e 's/-/-git-/'
+ printf "%s\n" "$gitstr" | sed -e 's/-g/-git-/'
fi
else
sed 's/$/-git/' < VERSION