Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Seitosh
csback
Commits
5320756e
Commit
5320756e
authored
Jun 13, 2016
by
thomas.forbriger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] (util): set DATADIR before first being used
parent
5ba9fd7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
util/csbucomparecsfiles.sh
util/csbucomparecsfiles.sh
+3
-3
No files found.
util/csbucomparecsfiles.sh
View file @
5320756e
...
...
@@ -79,6 +79,9 @@ do
done
shift
$((${
OPTIND
}
-
1
))
DATADIR
=
$1
DOWNDIR
=
$2
MINPARAMS
=
2
# check number of commandline arguments
if
[
$#
-lt
${
MINPARAMS
}
]
...
...
@@ -105,9 +108,6 @@ then
exit
2
fi
DATADIR
=
$1
DOWNDIR
=
$2
if
test
!
\(
-d
$DATADIR
-a
-r
$DATADIR
\)
then
echo
data directory
$DATADIR
does not exits or is not readable
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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