Skip to content

Commit

Permalink
Fixing broken installation steps in Jakefile default task.
Browse files Browse the repository at this point in the history
  • Loading branch information
mde committed Jul 29, 2010
1 parent 3dfa663 commit cc24951
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions geddy-core/scripts/Jakefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ task('default', [], function () {
var gid = process.env.SUDO_GID;
var cmds = [];
cmds = [
'chown -R ' + uid + ':' + gid + ' ~/.node_libraries'
'mkdir -p ~/.node_libraries'
, 'chown -R ' + uid + ':' + gid + ' ~/.node_libraries'
, 'cp geddy-core/scripts/geddy-gen /usr/local/bin/'
, 'cp geddy-core/scripts/geddy /usr/local/bin/'
];
Expand All @@ -34,8 +35,7 @@ task('default', [], function () {
// Not entirely sure why this expands correctly to the non-superuser's
// home dir, but I'm glad it does.
cmds = [
'mkdir -p ~/.node_libraries'
, 'cp -R ./dist/* ~/.node_libraries/'
'cp -R ./dist/* ~/.node_libraries/'
];
runCmds(cmds, function () {
sys.puts('Geddy installed.');
Expand Down

0 comments on commit cc24951

Please sign in to comment.