summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/git-update-mirror2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/git-update-mirror b/tools/git-update-mirror
index 1c6eea5..e258a12 100755
--- a/tools/git-update-mirror
+++ b/tools/git-update-mirror
@@ -75,7 +75,7 @@ do
75 git fetch --quiet --tags 75 git fetch --quiet --tags
76 checkrefs 2 76 checkrefs 2
77 77
78 find "$tempdir" -type 'f' -print | sed 's!^\./!!' | while read reffile 78 find "$tempdir" -type 'f' -print | while read reffile
79 do 79 do
80 ref=${reffile#$tempdir/} 80 ref=${reffile#$tempdir/}
81 old=$(awk '$1 == "1" { print $2; exit }' "$reffile") 81 old=$(awk '$1 == "1" { print $2; exit }' "$reffile")