aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-19 15:39:55 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-19 15:39:55 +1300
commitcd78e65ebb1dc1b60678f0109424022bea86c5e6 (patch)
treedc7f880a12edab2e978c1e577ff1d80ddf7bed1f
parent01d0f0245e688a748ea75fa2e75286cb13074f04 (diff)
downloaddotfiles-cd78e65ebb1dc1b60678f0109424022bea86c5e6.tar.gz
dotfiles-cd78e65ebb1dc1b60678f0109424022bea86c5e6.zip
Remove diagnostic messages from check/lint scripts
So that `make -s` works nicely.
-rw-r--r--check/bash.sh1
-rw-r--r--check/bin.sh4
-rw-r--r--check/games.sh1
-rw-r--r--check/ksh.sh1
-rw-r--r--check/man.sh3
-rw-r--r--check/sh.sh1
-rw-r--r--check/urxvt.sh1
-rw-r--r--check/xinit.sh1
-rw-r--r--check/zsh.sh1
-rw-r--r--lint/bash.sh1
-rw-r--r--lint/bin.sh4
-rw-r--r--lint/games.sh1
-rw-r--r--lint/ksh.sh1
-rw-r--r--lint/sh.sh1
-rw-r--r--lint/urxvt.sh1
-rw-r--r--lint/vim.sh1
-rw-r--r--lint/xinit.sh1
17 files changed, 0 insertions, 25 deletions
diff --git a/check/bash.sh b/check/bash.sh
index 510f2af0..fbe62a0c 100644
--- a/check/bash.sh
+++ b/check/bash.sh
@@ -8,4 +8,3 @@ set \
for bash do
bash -n -- "$bash" || exit
done
-printf 'GNU Bash dotfiles parsed successfully.\n'
diff --git a/check/bin.sh b/check/bin.sh
index 61b46af8..78c5e57d 100644
--- a/check/bin.sh
+++ b/check/bin.sh
@@ -2,14 +2,10 @@
for bin in bin/*.sh ; do
sh -n -- "${bin%.sh}" || exit
done
-printf 'POSIX shell binscripts parsed successfully.\n'
# GNU Bash
if command -v bash >/dev/null 2>&1 ; then
for bin in bin/*.bash ; do
bash -n -- "${bin%.bash}" || exit
done
- printf 'GNU Bash binscripts parsed successfully.\n'
-else
- printf 'bash(1) not found, skipping GNU Bash checks.\n'
fi
diff --git a/check/games.sh b/check/games.sh
index bea65a08..57a8151e 100644
--- a/check/games.sh
+++ b/check/games.sh
@@ -2,4 +2,3 @@
for game in games/*.sh ; do
sh -n -- "${game%.sh}" || exit
done
-printf 'POSIX shell games parsed successfully.\n'
diff --git a/check/ksh.sh b/check/ksh.sh
index cf83bc1f..d864f504 100644
--- a/check/ksh.sh
+++ b/check/ksh.sh
@@ -5,4 +5,3 @@ for ksh do
ksh -n -- "$ksh" || exit
done
sh -n -- ksh/shrc.d/ksh.sh || exit
-printf 'Korn shell dotfiles parsed successfully.\n'
diff --git a/check/man.sh b/check/man.sh
index 89c03890..9eaff0cf 100644
--- a/check/man.sh
+++ b/check/man.sh
@@ -41,7 +41,4 @@ if [ -s "$td"/nobin ] ; then
fi
# Exit appropriately
-if [ "$ex" -eq 0 ] ; then
- printf 'All scripts have manual pages.\n'
-fi
exit "$ex"
diff --git a/check/sh.sh b/check/sh.sh
index e0162f47..4e816337 100644
--- a/check/sh.sh
+++ b/check/sh.sh
@@ -7,4 +7,3 @@ set \
for sh do
sh -n -- "$sh" || exit
done
-printf 'POSIX shell dotfiles parsed successfully.\n'
diff --git a/check/urxvt.sh b/check/urxvt.sh
index 4a9e7501..e64ba1e5 100644
--- a/check/urxvt.sh
+++ b/check/urxvt.sh
@@ -1,4 +1,3 @@
for perl in urxvt/ext/*.pl ; do
perl -c "${perl%.pl}" || exit
done
-printf 'URxvt Perl extensions parsed successfully.\n'
diff --git a/check/xinit.sh b/check/xinit.sh
index ae03b8c2..a354422a 100644
--- a/check/xinit.sh
+++ b/check/xinit.sh
@@ -4,4 +4,3 @@ set \
for xinit do
sh -n -- "$xinit" || exit
done
-printf 'Xinit startup scripts parsed successfully.\n'
diff --git a/check/zsh.sh b/check/zsh.sh
index 0170e586..9d52b357 100644
--- a/check/zsh.sh
+++ b/check/zsh.sh
@@ -6,4 +6,3 @@ for zsh do
zsh -n -- "$zsh" || exit
done
sh -n zsh/profile.d/zsh.sh || exit
-printf 'Z shell dotfiles parsed successfully.\n'
diff --git a/lint/bash.sh b/lint/bash.sh
index 6457da35..13754a3f 100644
--- a/lint/bash.sh
+++ b/lint/bash.sh
@@ -6,4 +6,3 @@ set \
bash/bashrc \
bash/bashrc.d/*.bash
shellcheck -e SC1090 -s bash -- "$@" || exit
-printf 'GNU Bash dotfiles linted successfully.\n'
diff --git a/lint/bin.sh b/lint/bin.sh
index c50a2492..a98c6a73 100644
--- a/lint/bin.sh
+++ b/lint/bin.sh
@@ -4,7 +4,6 @@ for bin in bin/*.sh ; do
set -- "$@" "${bin%.sh}"
done
shellcheck -e SC1090 -- "$@" || exit
-printf 'POSIX shell binscripts linted successfully.\n'
# GNU Bash
if command -v bash >/dev/null 2>&1 ; then
@@ -13,7 +12,4 @@ if command -v bash >/dev/null 2>&1 ; then
set -- "$@" "${bin%.bash}"
done
shellcheck -e SC1090 -- "$@" || exit
- printf 'GNU Bash binscripts linted successfully.\n'
-else
- printf 'bash(1) not found, skipping GNU Bash lint.\n'
fi
diff --git a/lint/games.sh b/lint/games.sh
index 184728b6..e9690d8d 100644
--- a/lint/games.sh
+++ b/lint/games.sh
@@ -4,4 +4,3 @@ for game in games/*.sh ; do
set -- "$@" "${game%.sh}"
done
shellcheck -e SC1090 -- "$@" || exit
-printf 'POSIX shell games linted successfully.\n'
diff --git a/lint/ksh.sh b/lint/ksh.sh
index 102e0e54..117909b3 100644
--- a/lint/ksh.sh
+++ b/lint/ksh.sh
@@ -3,4 +3,3 @@ set \
ksh/kshrc.d/*.ksh
shellcheck -e SC1090 -s ksh -- "$@" || exit
shellcheck -e SC1090 -s sh -- ksh/shrc.d/ksh.sh || exit
-printf 'Korn shell dotfiles linted successfully.\n'
diff --git a/lint/sh.sh b/lint/sh.sh
index c1c972c8..b0d28e5d 100644
--- a/lint/sh.sh
+++ b/lint/sh.sh
@@ -5,4 +5,3 @@ set \
sh/shrc \
sh/shrc.d/*.sh
shellcheck -e SC1090 -s sh -- "$@" || exit
-printf 'POSIX shell dotfiles linted successfully.\n'
diff --git a/lint/urxvt.sh b/lint/urxvt.sh
index 477157f7..6e5fb503 100644
--- a/lint/urxvt.sh
+++ b/lint/urxvt.sh
@@ -3,4 +3,3 @@ for pl in urxvt/ext/*.pl ; do
set -- "$@" "${pl%.pl}"
done
perlcritic --brutal -- "${pl%.pl}"
-printf 'URxvt Perl extensions linted successfully.\n'
diff --git a/lint/vim.sh b/lint/vim.sh
index 43eaf4c8..bd8e73af 100644
--- a/lint/vim.sh
+++ b/lint/vim.sh
@@ -17,4 +17,3 @@ done
# Run check
vint -s -- "$@" || exit
-printf 'Vim configuration linted successfully.\n'
diff --git a/lint/xinit.sh b/lint/xinit.sh
index b2718874..0fab84d2 100644
--- a/lint/xinit.sh
+++ b/lint/xinit.sh
@@ -2,4 +2,3 @@ set \
X/xinitrc \
X/xinitrc.d/*.sh
shellcheck -e SC1090 -s sh -- "$@"
-printf 'Xinit startup scripts linted successfully.\n'