diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -55,7 +55,7 @@ skip_applications= while test $# != 0; do case $1 in -srcdir=* | --srcdir=*) - user_srcdir=`expr "$1" : '[^=]*=\(.*\)'` + user_srcdir=`expr -- "$1" : '[^=]*=\(.*\)'` if test "$ERL_TOP" != ""; then echo "WARNING: Overriding ERL_TOP with $user_srcdir" 1>&2 echo "" 1>&2 @@ -95,7 +95,7 @@ while test $# != 0; do echo "" 1>&2 ;; -cache-file=* | --cache-file=* ) - static_cache=`expr "$1" : '[^=]*=\(.*\)'` + static_cache=`expr -- "$1" : '[^=]*=\(.*\)'` if test "$static_cache" != "/dev/null"; then echo "WARNING: Only using config cache file '$static_cache' as static cache" 1>&2 echo "" 1>&2 @@ -140,8 +140,8 @@ while test $# != 0; do pie_ldflags="-no-pie" ;; CFLAGS=* | LDFLAGS=*) - flgs_var=`expr "$1" : '\([^=]*\)=.*'` - flgs_val=`expr "$1" : '[^=]*=\(.*\)'` + flgs_var=`expr -- "$1" : '\([^=]*\)=.*'` + flgs_val=`expr -- "$1" : '[^=]*=\(.*\)'` eval $flgs_var=\$flgs_val ;; --help=r* | -help=r*) @@ -151,7 +151,7 @@ while test $# != 0; do *) case $1 in --without-*) - skip_app=`expr "$1" : '--without-\(.*\)'` + skip_app=`expr -- "$1" : '--without-\(.*\)'` if [ "$skip_app" = "stdlib" ] || [ "$skip_app" = "kernel" ] || [ "$skip_app" = "sasl" ] || |