commitpkg: Avoid unnecessary use of basename(1)

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
Lukas Fleischer 2011-08-28 18:36:54 +02:00 committed by Pierre Schmitz
parent 50c311c261
commit 5f8458f197
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ if [ -r ~/.makepkg.conf ]; then
. ~/.makepkg.conf
fi
cmd=$(basename "$0")
cmd=${0##*/}
if [ ! -f PKGBUILD ]; then
abort 'No PKGBUILD file'