summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/find_dpkg_trigger_cycles.sh4
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:"