[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 01/03: Makefile: Add check-bashism top target
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 01/03: Makefile: Add check-bashism top target |
Date: |
Mon, 04 Mar 2019 14:52:09 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet.
commit 8098bff056702fb65a5fd4b76e03468c43462fe5
Author: ng0 <address@hidden>
AuthorDate: Mon Mar 4 13:49:09 2019 +0000
Makefile: Add check-bashism top target
---
Makefile.am | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index fd18d7c3c..9be41951e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,3 +27,10 @@ docdir = $(datadir)/doc/gnunet/
doc_DATA = COPYING README
ACLOCAL_AMFLAGS = -I m4
+
+# Check for bashisms in shell scripts
+# Very verbose, need to exclude more files.
+check-bashism:
+ printf "Run checkbashism on all .sh files.\n"
+ printf "Currently this expects checkbashism.pl at a fixed location."
+ find . -type f ! -path '*/.*' ! -path '*/_*' -name '*.sh' -print0 |
xargs -0 ~/src/scripts/src/checkbashisms.pl -f
--
To stop receiving notification emails like this one, please contact
address@hidden