aboutsummaryrefslogtreecommitdiffstats
path: root/vespabase
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-02-12 11:36:35 +0100
committerTor Egge <Tor.Egge@broadpark.no>2020-02-12 11:36:35 +0100
commita193a9917a4a6233d62fb52a847ae5bd9aec48ad (patch)
tree67acb95595a78bb8f4bbb2949bc51b888b1937b6 /vespabase
parentb0e5e2de5a2d2909c9f2a7668a449063a63149d2 (diff)
Use old style expr syntax.
Diffstat (limited to 'vespabase')
-rwxr-xr-xvespabase/src/common-env.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespabase/src/common-env.sh b/vespabase/src/common-env.sh
index b970c5bed60..ad77965fef6 100755
--- a/vespabase/src/common-env.sh
+++ b/vespabase/src/common-env.sh
@@ -23,7 +23,7 @@ consider_fallback () {
: $1 already has value $oldvariablevalue
elif [ -z "${2}" ]; then
: proposed value "${2}" is empty
- elif [ `expr match "$2" ".*'"` != 0 ]; then
+ elif [ `expr "$2" : ".*'"` != 0 ]; then
: proposed value "${2}" contains a single-quote
else
eval "${1}='${2}'"