Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
blaar
blaar
Commits
3a94fab5
Commit
3a94fab5
authored
Apr 29, 2017
by
Arnaud Blanchard
Browse files
Fix run.sh when no parameter
parent
94d1e491
Changes
1
Hide whitespace changes
Inline
Side-by-side
run.sh
View file @
3a94fab5
...
...
@@ -22,7 +22,7 @@ usage(){
#We will redirect all stdout to stderr ( 1>&2 ) in order to not mix with the stdout of the program we run
{
[
$1
]
||
{
echo
"Missing project directory."
;
usage
;
exit
1
;
}
[
$
#
-lt
1
]
&&
{
echo
"Missing project directory."
;
usage
;
exit
1
;
}
cd
$(
dirname
$0
)
blaar_dir
=
"
$PWD
"
...
...
Write
Preview
Supports
Markdown
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