Small fix trick in count.sh

This commit is contained in:
pancake 2021-10-04 15:38:46 +02:00
parent b7404ea6d3
commit ff72cfd529

View File

@ -6,7 +6,7 @@ if [ -n "$1" ]; then
echo 1 > "$T"
else
N=`cat $T 2> /dev/null`
N=$(($N+1))
N=$((1+$N))
basename `pwd`
echo "$N" | tee "$T" 2> /dev/null
fi