summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2011-01-07 14:48:34 +0000
committerRoger Leigh <rleigh@debian.org>2011-01-07 14:48:34 +0000
commit1969cce35a375730f3850859eb424924d287c66d (patch)
treef50e9d8820092a461d0746b17cabf63053da798a /bootstrap
parent98497dd3e424b9c8fc4cc13afdcbfa67f3396bcb (diff)
downloadschroot-1969cce35a375730f3850859eb424924d287c66d.tar.gz
build: bootstrap works outside git repository
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 55831389..2254a8f8 100755
--- a/bootstrap
+++ b/bootstrap
@@ -4,7 +4,7 @@ set -e
# Generate version information from git release tag
-./scripts/git-version > VERSION
+[ -f ./scripts/git-version ] && ./scripts/git-version > VERSION
# To satisfy automake
touch ChangeLog