index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andres P <aepd87@gmail.com> | 2010-06-18 19:21:09 -0430 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2010-06-21 01:04:57 +1000 |
commit | f5f107674bd34b281681d73a32e4dde1f9d0856f (patch) | |
tree | 59b4484b947fe4bdb837da2a8fad59d8fd37afca /scripts/makepkg.sh.in | |
parent | 1b93a116e73050d2a037843647b961432b2a0dc8 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 1f4df014..e1055885 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -323,7 +323,7 @@ get_downloadclient() { # ensure specified program is installed local program="${agent%% *}" if [[ ! -x $program ]]; then - local baseprog=$(basename $program) + local baseprog="${program##*/}" error "$(gettext "The download program %s is not installed.")" "$baseprog" plain "$(gettext "Aborting...")" exit 1 # $E_MISSING_PROGRAM |