[Reproducible-commits] [reproducible-utils] 01/01: Use shellcheck over checkbashisms.
Chris Lamb
chris at chris-lamb.co.uk
Sun Aug 21 09:43:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository reproducible-utils.
commit 1d65a4626d5cfa849f6ecce1bf23092f254043f3
Author: Chris Lamb <lamby at debian.org>
Date: Sun Aug 21 10:42:39 2016 +0100
Use shellcheck over checkbashisms.
---
Makefile | 13 +++----------
debian/control | 2 +-
2 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/Makefile b/Makefile
index c509a23..3781db1 100644
--- a/Makefile
+++ b/Makefile
@@ -22,23 +22,16 @@ install: all
done
test:
- @for X in $(SCRIPTS); \
- do \
- echo -n "Checking $${X} for syntax errors... "; \
- sh -n $${X}; \
- echo "ok"; \
- done
-
- @if [ -x /usr/bin/checkbashisms ]; \
+ @if [ -x /usr/bin/shellcheck ]; \
then \
for X in $(SCRIPTS); \
do \
echo -n "Checking $${X} for bashisms... "; \
- checkbashisms -f -x $${X}; \
+ shellcheck $${X}; \
echo "ok"; \
done; \
else \
- echo "W: skipping bashisms tests - you need to install devscripts."; \
+ echo "W: skipping bashisms tests - you need to install shellcheck."; \
fi
clean:
diff --git a/debian/control b/debian/control
index d571f66..796e0cc 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,8 @@ Uploaders:
Chris Lamb <lamby at debian.org>
Build-Depends:
debhelper (>= 9),
- devscripts,
python-docutils,
+ shellcheck,
Standards-Version: 3.9.8
Homepage: http://reproducible-builds.org/
Vcs-Browser: https://anonscm.debian.org/git/reproducible/reproducible-utils.git
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reproducible-utils.git
More information about the Reproducible-commits
mailing list