Permalink
Browse files

fixed error in writing out profile

  • Loading branch information...
Jeff Haynie
Jeff Haynie committed May 8, 2013
1 parent 9390fb4 commit d3580af23f4ee59b185fe942fc3d3e0187fe2d42
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/androidinstall.js
View
@@ -506,8 +506,8 @@ function addPathToProfile(androidDir, callback)
var t = path.join(androidDir,'tools'),
p = path.join(androidDir,'platform-tools');
data+='export PATH='+t+':'+p+':$PATH\n';
- data+='export ANDROID_SDK_ROOT='+android+'\n';
- data+='export ANDROID_SDK_HOME='+android+'\n';
+ data+='export ANDROID_SDK_ROOT='+androidDir+'\n';
+ data+='export ANDROID_SDK_HOME='+androidDir+'\n';
fs.writeFileSync(profile, data);
}

0 comments on commit d3580af

Please sign in to comment.