summaryrefslogtreecommitdiff
path: root/aux-gnurl
diff options
context:
space:
mode:
authorNils Gillmann <ng0@n0.is>2018-08-05 10:09:21 +0000
committerNils Gillmann <ng0@n0.is>2018-08-05 10:09:21 +0000
commit1c2a2c19c050b2e45eae230ab26aa65ada9d121e (patch)
tree7c27f217a99e7546729f1bd8c134241a256498b9 /aux-gnurl
parent5561c699b1e4ba60764302669914e54458e85235 (diff)
downloadgnurl-1c2a2c19c050b2e45eae230ab26aa65ada9d121e.tar.gz
gnurl-1c2a2c19c050b2e45eae230ab26aa65ada9d121e.tar.bz2
gnurl-1c2a2c19c050b2e45eae230ab26aa65ada9d121e.zip
gnurl: sed script
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'aux-gnurl')
-rwxr-xr-xaux-gnurl/sed.sh7
1 files 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'