mirror of
https://github.com/PDP-10/its.git
synced 2026-03-01 09:40:56 +00:00
Fix stamp.sh error calling git
- Problem: $1 is empty string inside shell function "timestamps" - Solution: Use $i loop variable (probably originally intended)
This commit is contained in:
committed by
Lars Brinkhoff
parent
1489766847
commit
f46544d7df
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user