aboutsummaryrefslogtreecommitdiff
path: root/tools/git-update-mirror
diff options
context:
space:
mode:
Diffstat (limited to 'tools/git-update-mirror')
-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 1c6eea55..e258a123 100755
--- a/tools/git-update-mirror
+++ b/tools/git-update-mirror
@@ -75,7 +75,7 @@ do
git fetch --quiet --tags
checkrefs 2
- find "$tempdir" -type 'f' -print | sed 's!^\./!!' | while read reffile
+ find "$tempdir" -type 'f' -print | while read reffile
do
ref=${reffile#$tempdir/}
old=$(awk '$1 == "1" { print $2; exit }' "$reffile")