Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CB-5139 - fix to able call bb10 version script from anywhere
  • Loading branch information
timkim committed Oct 22, 2013
1 parent ec6bfbe commit 19cfe94a5a64379a4a3cd6cfaf2acaecb6d24671
Showing 1 changed file with 3 additions and 1 deletion.
@@ -19,7 +19,9 @@
var fs = require("fs"),
readline = require("readline"),
util = require("util"),
filename = "www/cordova.js";
path = require('path'),
projectPath = path.resolve(__dirname,'../..'),
filename = path.join(projectPath, 'www/cordova.js');

if (fs.existsSync(filename)) {
var rl = readline.createInterface({

0 comments on commit 19cfe94

Please sign in to comment.