Skip to content

Commit

Permalink
fixing run_build
Browse files Browse the repository at this point in the history
  • Loading branch information
simianhacker committed Jan 20, 2015
1 parent 63d6a14 commit ba40d0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tasks/config/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ module.exports = function (grunt) {
var jrubyPath = grunt.config.get('jrubyPath');
var jruby = jrubyPath + '/bin/jruby';
var cmd = grunt.config.get('src') + '/server/bin/initialize';
var os = require('os');
var arch = os.arch();
var platform = os.platform();

// config:
// wait: should task wait until the script exits before finishing
Expand Down Expand Up @@ -36,7 +39,7 @@ module.exports = function (grunt) {
quiet: true,
failOnError: false
},
cmd: './target/<%= pkg.name + "-" + pkg.version %>/bin/kibana',
cmd: './target/<%= pkg.name + "-" + pkg.version %>-' + platform + '-' + arch + '/bin/kibana',
args: args
}
};
Expand Down

0 comments on commit ba40d0d

Please sign in to comment.