Paul Wise <p...@debian.org> writes:

> Here is what I plan to send upstream:
>
> cur_v=`echo "$timestamp" | sed s/-//g`
>
> for path in \
>   "$HOME/.config/automake" \
>   /usr/local/share/automake \
>   /usr/local/share/misc \
>   /usr/share/automake \
>   /usr/share/misc \
>     ; do
>
>     if test -x "$path/config.sub" ; then
>       v=`"$path/config.sub" --time-stamp | sed s/-//g`
>       if test "$v" -gt "$cur_v" ; then
>         "$path/config.sub" $*

      case $# in
      0) "$path/config.sub";;
      *) "$path/config.sub" "$@";;
      esac

instead.  $* doesn't quote its arguments, and the above works around a
portability problem with $@ (see the Autoconf manual).

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to