aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index db54ad0..c96b2a8 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -60,7 +60,7 @@ while [ -n "$1" ]; do
shift; shift;
;;
--buildresult)
- if [ -n '' ]; then
+ if [ -n "$2" ]; then
BUILDRESULT=$(readlink -f "$2");
else
BUILDRESULT=