Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CB-4531 changed error codes in line with spec for helper scripts
  • Loading branch information
lorinbeer committed Oct 23, 2013
1 parent 5a96c23 commit 2a4fd50748e9e88600c8babee587eb7b01b0ec27
Showing 1 changed file with 7 additions and 7 deletions.
@@ -31,25 +31,25 @@ DEBUGTOKENREQUEST="$CORDOVA_BBTOOLS/blackberry-debugtokenrequest"

if [ ! -x "$NODE" ]; then
echo node cannot be found on the path. Aborting.
EXIT_CODE=1
EXIT_CODE=2
elif [ ! -x "$NPM" ]; then
echo npm cannot be found on the path. Aborting.
EXIT_CODE=1
EXIT_CODE=2
elif [ ! -x "$JAVA" ]; then
echo java cannot be found on the path. Aborting.
EXIT_CODE=1
EXIT_CODE=2
elif [ ! -x "$PACKAGER" ]; then
echo blackberry-nativepackager cannot be found on the path. Aborting.
EXIT_CODE=1
EXIT_CODE=2
elif [ ! -x "$DEPLOYER" ]; then
echo blackberry-deploy cannot be found on the path. Aborting.
EXIT_CODE=1
EXIT_CODE=2
elif [ ! -x "$SIGNER" ]; then
echo blackberry-signer cannot be found on the path. Aborting.
EXIT_CODE=1
EXIT_CODE=2
elif [ ! -x "$DEBUGTOKENREQUEST" ]; then
echo blackberry-debugtokenrequest cannot be found on the path. Aborting.
EXIT_CODE=1
EXIT_CODE=2
else
"$NODE" "$BIN_DIR/check_reqs.js" "$@"
EXIT_CODE=0

0 comments on commit 2a4fd50

Please sign in to comment.