|
@@ -852,7 +852,7 @@ class Main {
|
|
var file = haxepath+'haxelib';
|
|
var file = haxepath+'haxelib';
|
|
try File.saveContent(
|
|
try File.saveContent(
|
|
file,
|
|
file,
|
|
- '#!/bin/sh\nhaxe '+args.join(' ')+' --run tools.haxelib.Main $@'
|
|
|
|
|
|
+ '#!/bin/sh\nexec haxe '+args.join(' ')+' --run tools.haxelib.Main "$@"'
|
|
)
|
|
)
|
|
catch (e:Dynamic)
|
|
catch (e:Dynamic)
|
|
throw 'Error writing file $file. Please ensure you have write permissions. \n ' + Std.string(e);
|
|
throw 'Error writing file $file. Please ensure you have write permissions. \n ' + Std.string(e);
|