summaryrefslogtreecommitdiffstats
path: root/scripts/get-version
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/get-version')
-rwxr-xr-xscripts/get-version4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/get-version b/scripts/get-version
index 8fcb6b212..ba6406623 100755
--- a/scripts/get-version
+++ b/scripts/get-version
@@ -36,7 +36,7 @@ case $os in
set -- $v0 # split $v0 using $IFS separator
dots=$(($# - 1)) # use positional argument count
# split version string using a '-' separator
- IFS='-'
+ IFS=-
set -- $v0
v=$1
# do we need to add another digit?
@@ -55,7 +55,7 @@ case $os in
fi
;;
*)
- v='git.missing.please.hardcode.version'
+ v=git.missing.please.hardcode.version
;;
esac
printf '%s' $v