install.sh uses /home/stack/src/pil21 and works anywhere

This commit is contained in:
StackSmith 2023-10-13 17:05:40 -07:00
parent 5f0be3fa87
commit a2f264fdbf
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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