cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhigg...@apache.org
Subject [1/2] webworks commit: CB-7409 update CORDOVA_HOME_DIR based on npm_cache
Date Wed, 27 Aug 2014 19:41:04 GMT
Repository: cordova-blackberry
Updated Branches:
  refs/heads/master 8f9248654 -> e547827fe


CB-7409 update CORDOVA_HOME_DIR based on npm_cache


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

Branch: refs/heads/master
Commit: e547827fec1e097fa2230c67b2435f4cdc5566fd
Parents: 8d9f2e4
Author: Josh Soref <jsoref@blackberry.com>
Authored: Tue Aug 26 17:40:42 2014 -0400
Committer: Josh Soref <jsoref@blackberry.com>
Committed: Tue Aug 26 17:57:15 2014 -0400

----------------------------------------------------------------------
 bin/init     | 2 +-
 bin/init.bat | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/e547827f/bin/init
----------------------------------------------------------------------
diff --git a/bin/init b/bin/init
index 90f1a0c..5884a8d 100755
--- a/bin/init
+++ b/bin/init
@@ -18,7 +18,7 @@
        under the License.
 COMMENT
 CURRENT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
-CORDOVA_HOME_DIR=$HOME/.cordova/lib/blackberry10/cordova/$(cat "$CURRENT_DIR/../VERSION")
+CORDOVA_HOME_DIR=$HOME/.cordova/lib/npm_cache/cordova-blackberry10/$(cat "$CURRENT_DIR/../VERSION")/package
 LOCAL_NODE_BIN=$CORDOVA_HOME_DIR/bin/dependencies/node/bin
 LOCAL_BBTOOLS=$CORDOVA_HOME_DIR/bin/dependencies/bb-tools/bin
 

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/e547827f/bin/init.bat
----------------------------------------------------------------------
diff --git a/bin/init.bat b/bin/init.bat
index f696081..fc160f6 100644
--- a/bin/init.bat
+++ b/bin/init.bat
@@ -20,7 +20,7 @@ goto comment
 setlocal enabledelayedexpansion
 
 set /P CORDOVA_VERSION=<"%~dp0..\VERSION"
-set "CORDOVA_HOME_DIR=!USERPROFILE!\.cordova\lib\blackberry10\cordova\!CORDOVA_VERSION!"
+set "CORDOVA_HOME_DIR=!USERPROFILE!\.cordova\lib\npm_cache\cordova-blackberry10\!CORDOVA_VERSION!"\package
 set "LOCAL_NODE_BINARY=!CORDOVA_HOME_DIR!\bin\dependencies\node\bin"
 set "LOCAL_BBTOOLS_BINARY=!CORDOVA_HOME_DIR!\bin\dependencies\bb-tools\bin"
 


Mime
View raw message