git-update-mirror: Remove a useless sed(1) call

"Holger Weiss" <[email protected]>
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
 Module: nagiosplug
 Branch: master
 Commit: 4b58160b8c546339b50e873b6c2c337d333fabdb
 Author: Holger Weiss <[email protected]>
   Date: Sun Oct 25 19:47:44 2009 +0100
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=4b58160

git-update-mirror: Remove a useless sed(1) call

The sed(1) command in question was a hangover which had no effect
anymore.

---

 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 1c6eea5..e258a12 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")


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.