diff --git a/scripts/parse_ml_options.sh-subr.in b/scripts/parse_ml_options.sh-subr.in index 17b6c7136..01ee085a7 100644 --- a/scripts/parse_ml_options.sh-subr.in +++ b/scripts/parse_ml_options.sh-subr.in @@ -373,7 +373,7 @@ EOF shift ;; -R*) - dir="` expr $1 : '-R\(.*\)' `" + dir="` expr X$1 : 'X-R\(.*\)' `" case $leave_shlib_dirs_relative in false) case "$dir" in /*) ;;