summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-04-21 21:55:06 +0200
committerJustin Davis <jrcd83@gmail.com>2012-04-21 21:55:06 +0200
commitef07639dcf634bc0ee8c9dea2a19b06c43227f24 (patch)
tree79fe8647cdde536a4c1a6c40749be55a796e49fa /bin
parent84438c212f1c9c161db2c75c2313bd0a7a3ffe2f (diff)
downloadgenpkg-ef07639dcf634bc0ee8c9dea2a19b06c43227f24.tar.gz
genpkg-ef07639dcf634bc0ee8c9dea2a19b06c43227f24.tar.xz
Use test -z just for kicks.
Diffstat (limited to 'bin')
-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