Ver código fonte

install working nicely, no neko dependency

Nicolas Cannasse 12 anos atrás
pai
commit
409a8859ee
2 arquivos alterados com 4 adições e 2 exclusões
  1. 2 2
      Makefile
  2. 2 0
      std/tools/haxelib/haxelib.sh

+ 2 - 2
Makefile

@@ -65,8 +65,8 @@ install:
 	cp -r std /usr/lib/haxe
 	cp -r std /usr/lib/haxe
 	mkdir /usr/lib/haxe/lib
 	mkdir /usr/lib/haxe/lib
 	chmod 777 /usr/lib/haxe/lib
 	chmod 777 /usr/lib/haxe/lib
-	echo haxe --run tools.haxelib.Main \$@ >/usr/bin/haxelib.sh
-	chmod +x /usr/bin/haxelib.sh
+	cp std/tools/haxelib/haxelib.sh /usr/bin/haxelib
+	chmod +x /usr/bin/haxelib
 
 
 export:
 export:
 	cp haxe*.exe doc/CHANGES.txt $(EXPORT)
 	cp haxe*.exe doc/CHANGES.txt $(EXPORT)

+ 2 - 0
std/tools/haxelib/haxelib.sh

@@ -0,0 +1,2 @@
+#!/bin/sh
+haxe --run tools.haxelib.Main $@