diff options
Diffstat (limited to 'vespabase')
-rwxr-xr-x | vespabase/src/common-env.sh | 2 |
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}'" |