From 5fbe559a3d87fdb61e11df6f8fe88f745ae35c68 Mon Sep 17 00:00:00 2001 From: bth Date: Tue, 14 Jan 2025 20:05:32 -0800 Subject: [PATCH] either export VAR=foo; run.sh - or : VAR=foo run.sh : note that the semicolon means a separate process --- shell/next.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/next.sh b/shell/next.sh index 2b5f3a5..d2015a4 100755 --- a/shell/next.sh +++ b/shell/next.sh @@ -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`