From a2f264fdbfea3ad1c058c7097b58a48848c3453c Mon Sep 17 00:00:00 2001 From: StackSmith Date: Fri, 13 Oct 2023 17:05:40 -0700 Subject: [PATCH] install.sh uses /home/stack/src/pil21 and works anywhere --- README.FREEBSD | 1 + install.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.FREEBSD b/README.FREEBSD index b90c4a2..bb2f1b3 100644 --- a/README.FREEBSD +++ b/README.FREEBSD @@ -18,6 +18,7 @@ make use install.sh and uninstall.sh scripts for global installation and uninstallation +Warning: the scripts create symlinks into this directory; make sure to keep it safe. diff --git a/install.sh b/install.sh index b49d7de..8456211 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,5 @@ -SRC="/home/stack/src/pil21" +SRC=$PWD +echo "Creating symlinks to ${SRC}! Keep it safe!" DST="/usr/local" ln -s $SRC $DST/lib/picolisp ln -s $DST/lib/picolisp/bin/picolisp $DST/bin