diff --git a/admin/check-doc-strings b/admin/check-doc-strings index 13e8b0cd8e7..63856d32871 100755 --- a/admin/check-doc-strings +++ b/admin/check-doc-strings @@ -1,5 +1,5 @@ : #-*- Perl -*- -eval 'exec perl -S $0 ${1+"$@"}' # Portability kludge +eval 'exec perl -S $0 "$@"' # Portability kludge if 0; # Author: Martin Buchholz @@ -299,4 +299,3 @@ foreach my $fun (sort keys %texi_funtype) { print "nuke-this-doc: $fun $texi_funtype{$fun}\n"; } } - diff --git a/configure.ac b/configure.ac index 76193fae6dd..7a3d4d92831 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,7 @@ emacs_config_options= optsep= dnl This is the documented way to record the args passed to configure, dnl rather than $ac_configure_args. -for opt in ${1+"$@"} CFLAGS CPPFLAGS LDFLAGS; do +for opt in "$@" CFLAGS CPPFLAGS LDFLAGS; do case $opt in -n | --no-create | --no-recursion) continue ;; diff --git a/lib-src/rcs2log b/lib-src/rcs2log index 73213c5a37b..ff4d470a21a 100755 --- a/lib-src/rcs2log +++ b/lib-src/rcs2log @@ -403,8 +403,8 @@ case $rlogfile in esac case $datearg in - ?*) $rlog $rlog_options "$datearg" ${1+"$@"} >$rlogfile;; - '') $rlog $rlog_options ${1+"$@"} >$rlogfile;; + ?*) $rlog $rlog_options "$datearg" "$@" >$rlogfile;; + '') $rlog $rlog_options "$@" >$rlogfile;; esac || exit;; esac