gnunet-svn
[Top][All Lists]
Advanced

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

[gnurl] 215/222: awk


From: gnunet
Subject: [gnurl] 215/222: awk
Date: Thu, 07 Nov 2019 00:11:51 +0100

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 37cfa37237245fe0054af508e34c72af3f9c9ffc
Author: ng0 <address@hidden>
AuthorDate: Wed Nov 6 22:11:25 2019 +0000

    awk
---
 aux-gnurl/Makefile  |  4 +---
 aux-gnurl/gnurl1.sh | 32 +++++++++++++++++++++++++++++---
 2 files changed, 30 insertions(+), 6 deletions(-)

diff --git a/aux-gnurl/Makefile b/aux-gnurl/Makefile
index 1a388b706..2d75b5018 100644
--- a/aux-gnurl/Makefile
+++ b/aux-gnurl/Makefile
@@ -6,8 +6,6 @@ makefiles:
 # manfiles:
 
 allfiles:
-.for _file in ${_ALLFILES}
-       ./gnurl1 ${_file} > ${_file}.tmp ; mv ${_file}.tmp ${_file}
-.endfor
+       sh ./gnurl1.sh
 
 .include <bsd.prog.mk>
diff --git a/aux-gnurl/gnurl1.sh b/aux-gnurl/gnurl1.sh
index d23ed191e..a9fb5bb72 100644
--- a/aux-gnurl/gnurl1.sh
+++ b/aux-gnurl/gnurl1.sh
@@ -1,5 +1,31 @@
-_ALLFILES=$(find .. ! -path '*.git/*' ! -path '*aux-gnurl/**' ! -path '*.der' 
! -path '*.in' ! -path '*.Po' ! -path '*.tar*' -type f -exec grep -Il '.' {} \; 
| xargs -L 1 echo)
+_ALLFILES=$(find .. \
+                 ! -path '*.git/*' \
+                 ! -path '*aux-gnurl/**' \
+                 ! -path '*.der' \
+                 ! -path '*.in' \
+                 ! -path '*.Po' \
+                 ! -path '*.tar*' \
+                 ! -path '*m4/*' \
+                 ! -path '*.pax*' \
+                 ! -path '*.sum*' \
+                 ! -path '*.asc' \
+                 ! -path '*.sig' \
+                 ! -path '*build/*' \
+                 ! -path '*autom4te.cache/*' \
+                 ! -path '*.Plo' \
+                 ! -path '*.github/*' \
+                 ! -path '*.o' \
+                 ! -path '*.lo' \
+                 ! -path '*projects/Windows/*' \
+                 ! -path '*.d' \
+                 ! -path '*.key' \
+                 ! -path '*.pem' \
+                 ! -path '*.crl' \
+                 ! -path '*.csr' \
+                 ! -path '*.pub' \
+                 ! -path '*.prm' \
+                 ! -path '*.crt' \
+                 -type f -exec grep -Il '.' {} \; | xargs -L 1 echo)
 for f in ${_ALLFILES}; do
-        echo ${f}
-#      ./gnurl1 ${f} > ${f}.tmp ; mv ${f}.tmp ${f}
+       ./gnurl1 ${f} > ${f}.tmp ; mv ${f}.tmp ${f}
 done

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



reply via email to

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