summaryrefslogtreecommitdiffstats
path: root/sys/conf/newvers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf/newvers.sh')
-rw-r--r--sys/conf/newvers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index b0ca002..0ce11aa 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -132,7 +132,7 @@ if [ -n "$git_cmd" ] ; then
else
svn=`$git_cmd log | fgrep 'git-svn-id:' | head -1 | \
sed -n 's/^.*@\([0-9][0-9]*\).*$/\1/p'`
- if [ -n $svn ] ; then
+ if [ -n "$svn" ] ; then
svn=" r${svn}"
git="+${git}"
else
OpenPOWER on IntegriCloud