From: Paul Eggert Date: Fri, 5 Feb 2016 21:45:11 +0000 (-0800) Subject: * autogen.sh: Port to dash (Bug#22556). X-Git-Tag: emacs-26.0.90~2728 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f8a8da25353efc54fd24f4ea5c7ed0ad85378b98;p=emacs.git * autogen.sh: Port to dash (Bug#22556). --- 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]";;