diff --git a/ChangeLog b/ChangeLog index a7749a98b..591d4c03d 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 32bc478cf..d4f65142e 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