You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by lo...@apache.org on 2013/10/23 23:55:52 UTC

[2/2] webworks commit: CB-4531 changed error codes in line with spec for helper scripts

CB-4531 changed error codes in line with spec for helper scripts


Project: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/commit/2a4fd507
Tree: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/tree/2a4fd507
Diff: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/diff/2a4fd507

Branch: refs/heads/master
Commit: 2a4fd50748e9e88600c8babee587eb7b01b0ec27
Parents: 5a96c23
Author: lorinbeer <lo...@adobe.com>
Authored: Wed Oct 23 14:55:47 2013 -0700
Committer: lorinbeer <lo...@adobe.com>
Committed: Wed Oct 23 14:55:47 2013 -0700

----------------------------------------------------------------------
 blackberry10/bin/check_reqs | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/2a4fd507/blackberry10/bin/check_reqs
----------------------------------------------------------------------
diff --git a/blackberry10/bin/check_reqs b/blackberry10/bin/check_reqs
index f221d63..41ad770 100755
--- a/blackberry10/bin/check_reqs
+++ b/blackberry10/bin/check_reqs
@@ -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