summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-02-05 13:45:11 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-02-05 13:45:40 -0800
commitf8a8da25353efc54fd24f4ea5c7ed0ad85378b98 (patch)
tree23aacb2f9d73598953cb4a349e29676cd302964b /autogen.sh
parent05570f0002a6bcecf2b72ea3f22d6653e00a45a6 (diff)
downloademacs-f8a8da25353efc54fd24f4ea5c7ed0ad85378b98.tar.gz
* autogen.sh: Port to dash (Bug#22556).
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 2ed58e15aea..ac728ccd521 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -104,9 +104,10 @@ check_version ()
}
do_autoconf=false
+test $# -eq 0 && do_autoconf=true
do_git=false
-for arg in ${*-autoconf}; do
+for arg; do
case $arg in
--help)
exec echo "$0: usage: $0 [all|autoconf|git]";;