diff options
author | 2014-06-05 18:43:04 +0200 | |
---|---|---|
committer | 2014-06-05 18:43:04 +0200 | |
commit | 90485bb12fd5ff2b0a01baaedd371e794b778535 (patch) | |
tree | da7b4567399ae4c63fb6765b643ec8f2b3059f90 | |
parent | Do not mention "wrong location" in description. (diff) | |
download | emacs-tools-90485bb12fd5ff2b0a01baaedd371e794b778535.tar.gz emacs-tools-90485bb12fd5ff2b0a01baaedd371e794b778535.tar.bz2 emacs-tools-90485bb12fd5ff2b0a01baaedd371e794b778535.zip |
New variable for path of getopt.
* emacs-updater (GETOPT): New variable, path of getopt executable.
-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' -- "$@") \ |