Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/jruby-cext-c
Original file line number Diff line number Diff line change
@@ -27,7 +27,9 @@ if SULONG_DIR.nil?
end

def mx(command, *args)
`#{MX_DIR}/mx.py -p #{SULONG_DIR} --vm server #{command} #{args.join(' ')}`
command = "#{MX_DIR}/mx.py -p #{SULONG_DIR} --vm server #{command} #{args.join(' ')}"
puts "$ #{command}"
`#{command}`
end

CEXT_DIR = ARGV[0]
@@ -57,4 +59,4 @@ SRC.each do |src|
LL.push ll
end

mx 'su-link', OUT, *LL
mx 'su-link', '-o', OUT, *LL

0 comments on commit dad646d

Please sign in to comment.