Re: AVR32 port - config.{sub,guess} bug filing
Paul Wise <pabs@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 (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: