summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 25ae4e5..4fd739f 100755
--- a/abuild.in
+++ b/abuild.in
@@ -122,7 +122,7 @@ sanitycheck() {
for i in $install; do
local n=${i%.*}
- local suff=${i#*.}
+ local suff=${i##*.}
case "$suff" in
pre-install|post-install|pre-upgrade|post-upgrade|pre-deinstall|post-deinstall);;
*) die "$i: unknown install script suffix"