Commit 2f81ae51 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

[FIX] (util): address correct variable in csbucscheck.sh

parent b23aee95
...@@ -221,14 +221,14 @@ do ...@@ -221,14 +221,14 @@ do
NLINES=$(wc -l $FILE | cut -f 1 -d ' ') NLINES=$(wc -l $FILE | cut -f 1 -d ' ')
if test $NLINES -gt 0 if test $NLINES -gt 0
then then
echo " verify $NLINES entries in $DIR/$CHECKSUMFILE" echo " verify $NLINES entries in $FILE"
cd $(dirname $FILE) cd $(dirname $FILE)
LOGFILE=$TMPDIR/$(echo $FILE | tr '/' '_') LOGFILE=$TMPDIR/$(echo $FILE | tr '/' '_')
cat $(basename $FILE) | tr -s ' ' | cut -f 1,2 -d ' ' \ cat $(basename $FILE) | tr -s ' ' | cut -f 1,2 -d ' ' \
| sed -e 's/ / /' | $SHABIN -c > $LOGFILE | sed -e 's/ / /' | $SHABIN -c > $LOGFILE
LOGLIST+=" "$LOGFILE LOGLIST+=" "$LOGFILE
else else
echo " checksum file $DIR/$CHECKSUMFILE is empty" echo " checksum file $FILE empty"
fi fi
cd $HERE cd $HERE
done done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment