either export VAR=foo; run.sh - or : VAR=foo run.sh : note that the semicolon means a separate process

This commit is contained in:
bth 2025-01-14 20:05:32 -08:00
commit 5fbe559a3d

View file

@ -24,7 +24,7 @@
# See https://git.bth.moi/bth/um#next
# NOTE: we only want the filename, not to run emacs yet.
LASTFILE=`UMDISABLEEMACS=true; $UMBASEPATH/last.sh`
LASTFILE=`UMDISABLEEMACS=true $UMBASEPATH/last.sh`
# NOTE: the optional $1 arg passed to awk with -v:
NEXTFILE=`echo $LASTFILE | awk -f $UMBASEPATH/next.awk -v arg=$1`