gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 161/163: gnurl: sed script


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 161/163: gnurl: sed script
Date: Sun, 05 Aug 2018 12:38:07 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 1c2a2c19c050b2e45eae230ab26aa65ada9d121e
Author: Nils Gillmann <address@hidden>
AuthorDate: Sun Aug 5 10:09:21 2018 +0000

    gnurl: sed script
    
    Signed-off-by: Nils Gillmann <address@hidden>
---
 aux-gnurl/sed.sh | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/aux-gnurl/sed.sh b/aux-gnurl/sed.sh
index 24f822585..0aed3ce69 100755
--- a/aux-gnurl/sed.sh
+++ b/aux-gnurl/sed.sh
@@ -1,4 +1,5 @@
 #!/bin/sh
-sed -i 's/<curl\/curl.h>/<gnurl\/curl.h>/g' *
-sed -i 's/<curl\/curl.h>/<gnurl\/curl.h>/g' docs/libcurl/*
-sed -i 's/<curl\/curl.h>/<gnurl\/curl.h>/g' docs/libcurl/opts/*
+
+find . -not -iwholename '*.git*' -not -iwholename '*sed.sh*' -type f -print0 | 
xargs -0 sed -i 's/<curl\/curl.h>/<gnurl\/curl.h>/g'
+# find "docs/libcurl/*" -not -iwholename '*.git*' -not -iwholename '*sed.sh*' 
-type f -print0 | xargs -0 sed -i 's/<curl\/curl.h>/<gnurl\/curl.h>/g'
+# find "docs/libcurl/opts/" -not -iwholename '*.git*' -not -iwholename 
'*sed.sh*' -type f -print0 | xargs -0 sed -i 
's/<curl\/curl.h>/<gnurl\/curl.h>/g'

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]