From: Jim Meyering Date: Fri, 8 Sep 2006 08:59:31 +0000 (+0000) Subject: * bootstrap: Use the previously unused variable, $src, X-Git-Tag: v6.2~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc1e25cfa5d3dd30062ec481e44a90e66a40a6aa;p=thirdparty%2Fcoreutils.git * bootstrap: Use the previously unused variable, $src, to avoid repeating "$GNULIB_SRCDIR/$file". --- diff --git a/ChangeLog b/ChangeLog index a7749a98b2..591d4c03da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-09-08 Jim Meyering + * bootstrap: Use the previously unused variable, $src, + to avoid repeating "$GNULIB_SRCDIR/$file". + * bootstrap (cp_mark_as_generated): Don't use "local", to accommodate ancient "/bin/sh". Suggested by Ralf Wildenhues. Rename now-global "$src" and "$dst" to have cp_ prefix. diff --git a/bootstrap b/bootstrap index 32bc478cf1..d4f65142ea 100755 --- a/bootstrap +++ b/bootstrap @@ -337,8 +337,8 @@ for file in $gnulib_extra_files; do */INSTALL) dest=.;; *) dest=$file;; esac - echo "$0: cp -fp $GNULIB_SRCDIR/$file $dest" && - cp -fp $GNULIB_SRCDIR/$file $dest || exit + echo "$0: cp -fp $src $dest" && + cp -fp $src $dest || exit done