Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommitpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/commitpkg b/commitpkg
index 410bc88..2a732b5 100755
--- a/commitpkg
+++ b/commitpkg
@@ -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'