termux-packages/packages/picolisp/fix-shebangs.patch

17 lines
560 B
Diff
Raw Normal View History

2022-02-25 15:02:46 +01:00
--- ./bin/pil.orig 2022-02-20 20:18:10.391495466 +0530
+++ ./bin/pil 2022-02-20 20:18:26.511495460 +0530
@@ -1,4 +1,4 @@
-#!/usr/bin/picolisp /usr/lib/picolisp/lib.l
+#!/usr/bin/picolisp @TERMUX_PREFIX@/lib/picolisp/lib.l
(load "@lib/net.l" "@lib/misc.l" "@lib/btree.l" "@lib/db.l" "@lib/pilog.l")
`*Dbg
--- ./bin/vip.orig 2022-02-20 20:17:42.441495477 +0530
+++ ./bin/vip 2022-02-20 20:18:01.041495470 +0530
@@ -1,4 +1,4 @@
-#!/usr/bin/picolisp /usr/lib/picolisp/lib.l
+#!/usr/bin/picolisp @TERMUX_PREFIX@/lib/picolisp/lib.l
# 29jun21abu
(unless *Dbg