[exim-cvs] quote var for case stmt, so that old shell will s…

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] quote var for case stmt, so that old shell will see it as empty, rather than syntax error
Gitweb: http://git.exim.org/exim.git/commitdiff/19cbdd27e03c039eb6244f126dc453fc0efcbf8a
Commit:     19cbdd27e03c039eb6244f126dc453fc0efcbf8a
Parent:     1abf359cf07b59ac99e45c1cefd81c4b5edb312d
Author:     Phil Pennock <pdp@???>
AuthorDate: Wed Oct 5 00:27:45 2011 -0400
Committer:  Phil Pennock <pdp@???>
CommitDate: Wed Oct 5 00:27:45 2011 -0400


    quote var for case stmt, so that old shell will see it as empty, rather than syntax error
---
 src/scripts/reversion |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/src/scripts/reversion b/src/scripts/reversion
index 97b8874..c461886 100755
--- a/src/scripts/reversion
+++ b/src/scripts/reversion
@@ -52,7 +52,7 @@ fi
# create your own version.sh as part of your release process, or you
# can modify EXIM_VARIANT_VERSION at this point in this script.

-case $EXIM_RELEASE_VERSION in
+case "$EXIM_RELEASE_VERSION" in
 '')    echo "*** Your copy of Exim lacks any version information."
     exit 1
 esac