termux-packages/packages/picolisp/src64-mkAsm.patch
2016-12-27 20:10:28 -05:00

27 lines
670 B
Diff

Avoid trying to run /usr/bin/picolisp since it is probably too
old - just run the java version, since java is needed by the
Termux package builds anyway.
diff -u -r ../picoLisp/src64/mkAsm ./src64/mkAsm
--- ../picoLisp/src64/mkAsm 2016-12-14 02:35:59.000000000 -0500
+++ ./src64/mkAsm 2016-12-27 20:06:01.126373627 -0500
@@ -1,17 +1,6 @@
#!/bin/sh
# 14dec16abu
-if test -x /usr/bin/picolisp
-then
- /usr/bin/pil mkAsm.l "$@"
-elif test -x ../bin/picolisp
-then
- ../pil mkAsm.l "$@"
-elif which java >/dev/null
-then
- ../ersatz/pil mkAsm.l "$@"
-else
- echo "No PicoLisp binary found for bootstrapping"
-fi
+../ersatz/pil mkAsm.l "$@"
# vi:et:ts=3:sw=3