diff options
| author | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-10-25 19:47:44 +0100 |
|---|---|---|
| committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-10-25 19:47:44 +0100 |
| commit | 4b58160b8c546339b50e873b6c2c337d333fabdb (patch) | |
| tree | 8fcc50175e7e6f61b84de3a583da4366a1ff3e13 /tools | |
| parent | 61f2cebae3baabb2ae895f212ce089ff15cc37d2 (diff) | |
| download | monitoring-plugins-4b58160b8c546339b50e873b6c2c337d333fabdb.tar.gz | |
git-update-mirror: Remove a useless sed(1) call
The sed(1) command in question was a hangover which had no effect
anymore.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/git-update-mirror | 2 |
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 | |||
| 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") |
