diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | emacs-updater | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2014-06-05 Ulrich Müller <ulm@gentoo.org> + + * emacs-updater (GETOPT): New variable, path of getopt executable. + 2014-05-19 Ulrich Müller <ulm@gentoo.org> * emacs-updater: Remove the sitedir action; site-init files are diff --git a/emacs-updater b/emacs-updater index 7b8a965..38c6390 100755 --- a/emacs-updater +++ b/emacs-updater @@ -8,6 +8,7 @@ VERSION=1.13 EMACS=/usr/bin/emacs +GETOPT=/usr/bin/getopt SITELISP=/usr/share/emacs/site-lisp # Default actions @@ -104,7 +105,7 @@ pm_auto() { } # Read in all command-line options and force English output -OPTIONS=$(LC_ALL=C getopt -o a:behmnopP: \ +OPTIONS=$(LC_ALL=C "${GETOPT}" -o a:behmnopP: \ --long action:,batch,color::,colour::,nocolor,nocolour,exact,help,major \ --long orphans,pretend,package-manager:,package-manager-command:,version \ -n 'emacs-updater' -- "$@") \ |