Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Seitosh
csback
Commits
2f81ae51
Commit
2f81ae51
authored
Jun 13, 2016
by
thomas.forbriger
Browse files
[FIX] (util): address correct variable in csbucscheck.sh
parent
b23aee95
Changes
1
Hide whitespace changes
Inline
Side-by-side
util/csbucscheck.sh
View file @
2f81ae51
...
...
@@ -221,14 +221,14 @@ do
NLINES
=
$(
wc
-l
$FILE
|
cut
-f
1
-d
' '
)
if
test
$NLINES
-gt
0
then
echo
" verify
$NLINES
entries in
$
DIR
/
$CHECKSUM
FILE
"
echo
" verify
$NLINES
entries in
$FILE
"
cd
$(
dirname
$FILE
)
LOGFILE
=
$TMPDIR
/
$(
echo
$FILE
|
tr
'/'
'_'
)
cat
$(
basename
$FILE
)
|
tr
-s
' '
|
cut
-f
1,2
-d
' '
\
|
sed
-e
's/ / /'
|
$SHABIN
-c
>
$LOGFILE
LOGLIST+
=
" "
$LOGFILE
else
echo
" checksum file
$
DIR
/
$CHECKSUM
FILE
is
empty"
echo
" checksum file
$FILE
empty"
fi
cd
$HERE
done
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment