File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 200
200
' tools/build/Makefile-Parrot.in' , $MAKEFILE ,
201
201
%config ,
202
202
);
203
- fill_template_file(' src/vm/parrot/nqp.sh' , ' gen/parrot/nqp_launcher' , %config );
203
+ if ($^O eq ' MSWin32' ) {
204
+ fill_template_file(' src/vm/parrot/nqp.bat' , ' gen/parrot/nqp_launcher' , %config );
205
+ }
206
+ else {
207
+ fill_template_file(' src/vm/parrot/nqp.sh' , ' gen/parrot/nqp_launcher' , %config );
208
+ }
204
209
chmod 0755, ' gen/parrot/nqp_launcher' ;
205
210
}
206
211
if ($backends {moar }) {
Original file line number Diff line number Diff line change 1
1
@ ECHO OFF
2
- @@ bindir@@ /parrot@@ exe@ @ -L. -X. --library=gen/parrot gen/parrot/nqp.pbc \
3
- --module-path=gen/parrot --setting-path=gen/parrot %*
4
-
2
+ @@ bindir@@ /parrot@@ exe@ @ -L. -X. --library=gen/parrot gen/parrot/nqp.pbc --module-path=gen/parrot --setting-path=gen/parrot %*
You can’t perform that action at this time.
0 commit comments