make imagesums less verbose by default
This commit is contained in:
parent
8f45f72033
commit
6b44b8cdc1
|
@ -1,5 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERBOSE=0
|
||||
|
||||
if [ "$1" = "-v" ] ; then
|
||||
VERBOSE=1
|
||||
shift
|
||||
fi
|
||||
|
||||
cd $1
|
||||
|
||||
if [ "$2"x != ""x ] ; then
|
||||
|
@ -13,7 +20,9 @@ fi
|
|||
for SUM in $CHECKSUMS; do
|
||||
UPSUM=`echo $SUM | tr 'a-z' 'A-Z'`
|
||||
FILE=$UPSUM"SUMS"$EXT
|
||||
if [ $VERBOSE -eq 1 ] ; then
|
||||
echo "Clearing $FILE"
|
||||
fi
|
||||
:> $FILE
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue