aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap.conf
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-09-26 14:13:16 +0200
committerJim Meyering <meyering@redhat.com>2009-09-26 14:45:50 +0200
commit30c65cd49c98e56b65beef8812a4a25df4b1178a (patch)
tree7068347fa5aea3de02b03634eb845635d1629d89 /bootstrap.conf
parentcp, mv: use linkat to guarantee semantics (diff)
downloadcoreutils-30c65cd49c98e56b65beef8812a4a25df4b1178a.tar.gz
coreutils-30c65cd49c98e56b65beef8812a4a25df4b1178a.zip
maint: factor coreutils-specific code out of bootstrap
* bootstrap (bootstrap_epilogue): Define a default, empty function. Remove coreutils-specific code, and instead, invoke this new function at the end of this script. * bootstrap.conf (bootstrap_epilogue): Define, to override the default.
Diffstat (limited to '')
-rw-r--r--bootstrap.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index f648e226a..726092c7f 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -319,3 +319,11 @@ tar -
# Automake requires that ChangeLog exist.
touch ChangeLog || exit 1
+
+bootstrap_epilogue()
+{
+ # Change paths in gnulib-tests/gnulib.mk from "../.." to "..".
+ m=gnulib-tests/gnulib.mk
+ sed 's,\.\./\.\.,..,g' $m > $m-t
+ mv -f $m-t $m
+}