contrib/*: Hardcode program names
commit1038e669649dae98c1cf9c354e680c62cf25638c
authorLukas Fleischer <archlinux@cryptocrack.de>
Tue, 6 Dec 2011 21:29:32 +0000 (6 22:29 +0100)
committerDan McGee <dan@archlinux.org>
Wed, 7 Dec 2011 15:59:30 +0000 (7 09:59 -0600)
tree8088a11caace799fdb96040d39fe56abf3e5f55e
parent48188fbeee8bc39977bc2a0200dc5fb538db9ff1
contrib/*: Hardcode program names

Add a read-only variable "$myname" to every contrib script and hardcode
program names instead of relying on "$0". The variable name "$myname"
was chosen because it is already used in pacman and because we use
"$myver" to specify the program version in the official scripts.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Dan McGee <dan@archlinux.org>
contrib/bacman.in
contrib/paccache.in
contrib/pacdiff.in
contrib/paclist.in
contrib/paclog-pkglist.in
contrib/pacscripts.in
contrib/pacsearch.in