projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f4aa68
)
run-build-packages: Test that fpm is callable before trying to do
author
Ward Vandewege <ward@curoverse.com>
Tue, 21 Oct 2014 12:39:06 +0000
(08:39 -0400)
committer
Ward Vandewege <ward@curoverse.com>
Tue, 21 Oct 2014 13:00:19 +0000
(09:00 -0400)
anything.
No issue #
jenkins/run-build-packages.sh
patch
|
blob
|
history
diff --git
a/jenkins/run-build-packages.sh
b/jenkins/run-build-packages.sh
index aed423d4ac533eec3d894682a04865727e37b6cb..edefe887b2af57b99ad0eafa0b488960b0c07050 100755
(executable)
--- a/
jenkins/run-build-packages.sh
+++ b/
jenkins/run-build-packages.sh
@@
-70,6
+70,17
@@
if ! [[ -n "$WORKSPACE" ]]; then
exit 1
fi
+# Test for fpm
+fpm --version >/dev/null 2>&1
+
+if [[ "$?" != 0 ]]; then
+ echo >&2 "$helpmessage"
+ echo >&2
+ echo >&2 "Error: fpm not found"
+ echo >&2
+ exit 1
+fi
+
if [[ "$DEBUG" != 0 ]]; then
echo "Workspace is $WORKSPACE"
fi