From f46544d7dfd19d87fae5a7b828b83f5aeff89109 Mon Sep 17 00:00:00 2001 From: Kevin Kahl Date: Fri, 11 Apr 2025 19:47:42 -0700 Subject: [PATCH] Fix stamp.sh error calling git - Problem: $1 is empty string inside shell function "timestamps" - Solution: Use $i loop variable (probably originally intended) --- build/stamp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/stamp.sh b/build/stamp.sh index 23f4e688..bebe8a39 100755 --- a/build/stamp.sh +++ b/build/stamp.sh @@ -18,7 +18,7 @@ timestamps(){ t="$2" TZ=EST else - t=`git log -1 --date=format:%Y%m%d%H%M.%S --format=%cd -- "$1"` + t=`git log -1 --date=format:%Y%m%d%H%M.%S --format=%cd -- "$i"` TZ="$OTZ" fi touch -h -t "$t" -- "$i"