path: root/
diff options
authorColin Guthrie <>2009-06-28 12:56:57 +0100
committerColin Guthrie <>2009-06-29 22:52:31 +0100
commit00c392d72c63398145b1c95e46ea0bb44535dd9b (patch)
treeb7539e65bf45c26960c417776cc416e1e902a776 /
parent59376b039e10b1ceec5f4955361df2ba001abff3 (diff)
bootstrap: Ship git-version-gen with the tarball. is already shipped and when rebootstrapping, it will call git-version-gen internally when processing In order to know when someone has rebootstrapped, we modify the tarball version to mark it as rebootstrapped. Not 100% sure this later stage is desired or if we should remove the .tarball-version file instead.
Diffstat (limited to '')
1 files changed, 5 insertions, 0 deletions
diff --git a/ b/
index d5025db6..aa9755fa 100755
--- a/
+++ b/
@@ -46,6 +46,11 @@ if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
chmod -c +x .git/hooks/pre-commit
+if [ -f .tarball-version ]; then
+ echo "Marking tarball version as modified."
+ echo -n `cat .tarball-version | sed 's/-rebootstrapped$//'`-rebootstrapped >.tarball-version
# We check for this here, because if pkg-config is not found in the
# system, it's likely that the pkg.m4 macro file is also not present,
# which will make PKG_PROG_PKG_CONFIG be undefined and the generated