summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/genpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/genpkg b/bin/genpkg
index 28e85a7..8414ce2 100755
--- a/bin/genpkg
+++ b/bin/genpkg
@@ -131,7 +131,7 @@ do
# Ignore errors when merging .install file. We don't mind missing it.
mergefile "$pkgname.install" pre_install post_install pre_upgrade post_upgrade
- if ! [ "$GENPKGDBG" ]
+ if [ -z "$GENPKGDBG" ]
then
rm -rf PKGTREE
rm PKGDATA