aboutsummaryrefslogtreecommitdiff
path: root/examples/B92test-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'examples/B92test-pkg')
-rw-r--r--examples/B92test-pkg8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/B92test-pkg b/examples/B92test-pkg
index 5a2aba4..7372ca0 100644
--- a/examples/B92test-pkg
+++ b/examples/B92test-pkg
@@ -16,7 +16,13 @@ done
dpkg -i /tmp/buildd/*.deb
-chmod a+x /tmp/buildd/*/debian/pbuilder-test/*
+if chmod a+x /tmp/buildd/*/debian/pbuilder-test/*; then
+ :
+else
+ echo "W: no pbuilder-test script found, skipping"
+ exit 0
+fi
+
SUCCESS=0
COUNT=0
unset FAIL || true