diff options
author | josch <j.schauer@email.de> | 2015-01-04 13:27:50 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-01-04 13:30:29 +0100 |
commit | 071f8e48fa3991b111c04469b214dacad1c80bfe (patch) | |
tree | 2e543d1271f0990a0b71338d483fc460f6875c2b /bin | |
parent | b32793dd8622b0aa0c344ce0aa5ff453605c3506 (diff) | |
download | jenkins.debian.net-071f8e48fa3991b111c04469b214dacad1c80bfe.tar.xz |
bin/find_dpkg_trigger_cycles.sh: wc output the filename if it's not given on stdin (round #2)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find_dpkg_trigger_cycles.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/find_dpkg_trigger_cycles.sh b/bin/find_dpkg_trigger_cycles.sh index d455b126..f48244e4 100755 --- a/bin/find_dpkg_trigger_cycles.sh +++ b/bin/find_dpkg_trigger_cycles.sh @@ -245,7 +245,7 @@ echo "| result summary |" echo "+----------------------------------------------------------+" echo "" echo "number of found file based trigger cycles:" -wc -l result-file +wc -l < result-file if [ `wc -l < result-file` -ne 0 ]; then echo "Warning: found file based trigger cycles" echo "number of packages creating file based trigger cycles:" @@ -254,7 +254,7 @@ if [ `wc -l < result-file` -ne 0 ]; then awk '{ print $1 }' result-file | sort | uniq fi echo "number of found explicit trigger cycles:" -wc -l result-explicit +wc -l < result-explicit if [ `wc -l < result-explicit` -ne 0 ]; then echo "Warning: found explicit trigger cycles" echo "number of packages creating explicit trigger cycles:" |