aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-16 08:43:08 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-08-16 08:43:08 +0000
commit360cc1a82c0bebebd70f4890a8dcaa78891c032a (patch)
tree3588abcc03de0eb9bf1017d4b9fae852b4e72f63 /bootstrap
parent56ac2b6a5d6eb829a7da8eecc04cbf5f9339e61b (diff)
downloadgdbm-360cc1a82c0bebebd70f4890a8dcaa78891c032a.tar.gz
gdbm-360cc1a82c0bebebd70f4890a8dcaa78891c032a.tar.bz2
Minor housekeeping for Gnits compliance.
* README-alpha: New file. * README-hacking: New file. * bootstrap: Update.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap26
1 files changed, 26 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index edef987..63ef2a0 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,2 +1,28 @@
#! /bin/sh
+force=0
+
+if test $# -eq 0; then
+ :;
+elif test $# -eq 1; then
+ case $1 in
+ --force) force=1;;
+ --help|-h)
+ cat <<EOT
+usage: bootstrap [--force]
+bootstraps GDBM package
+EOT
+ ;;
+ *) echo >&2 "$0: unrecognized option"
+ exit 1;;
+ esac
+else
+ echo >&2 "$0: too many arguments"
+ exit 1
+fi
+
+if ! test -f README-hacking && test $force -eq 0; then
+ echo >&2 "$0: bootstrapping from a non-checked-out distribution is risky"
+ exit 1
+fi
+
test -d m4 || mkdir m4

Return to:

Send suggestions and report system problems to the System administrator.