From fc1e25cfa5d3dd30062ec481e44a90e66a40a6aa Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 8 Sep 2006 08:59:31 +0000 Subject: [PATCH] * bootstrap: Use the previously unused variable, $src, to avoid repeating "$GNULIB_SRCDIR/$file". --- ChangeLog | 3 +++ bootstrap | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.47.3