summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 30f4feb4..15ff056a 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -42,6 +42,7 @@ if [[ $1 =~ ^-?[0-9]+$ ]] ; then
rm $TMPFILE
else
PACKAGES="$@"
+ AMOUNT="${#@}"
fi
set +x
echo
@@ -124,7 +125,7 @@ for SRCPACKAGE in $PACKAGES ; do
set +x
echo "=============================================================="
- echo "$COUNT_TOTAL of ${#PACKAGES} done."
+ echo "$COUNT_TOTAL of $AMOUNT done."
echo "=============================================================="
set -x
done