From: Miles Bader Date: Wed, 10 Mar 2010 14:16:06 +0000 (+0900) Subject: quick-install-emacs: Use more portable shell syntax X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~766 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=61c264722eabe920e3fadf892eb9d2e1c84d1ae3;p=emacs.git quick-install-emacs: Use more portable shell syntax --- diff --git a/admin/ChangeLog b/admin/ChangeLog index 8e5f4627b6a..1f2b4c58898 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog @@ -1,6 +1,8 @@ 2010-03-10 Miles Bader - * quick-install-emacs (AVOID): Be more picky about files we avoid + * quick-install-emacs: Use more portable shell syntax. + + * quick-install-emacs: (AVOID): Be more picky about files we avoid installing. 2010-02-14 Juanma Barranquero diff --git a/admin/quick-install-emacs b/admin/quick-install-emacs index b8727d8d564..b912ed4e3ff 100755 --- a/admin/quick-install-emacs +++ b/admin/quick-install-emacs @@ -120,7 +120,7 @@ Written by Miles Bader EOF exit 0 ;; - -[^-]?*) + -[!-]?*) # split concatenated single-letter options apart FIRST="$1"; shift set -- `echo $FIRST | sed 's/-\(.\)\(.*\)/-\1 -\2/'` "$@"