Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
atlas
please-install
Commits
b6abce61
Commit
b6abce61
authored
Nov 13, 2018
by
Matthieu Boileau
Browse files
Update common.sh
parent
d6e0eb8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
common.sh
View file @
b6abce61
...
@@ -13,6 +13,14 @@ mkdir -p $BASE_WORK_DIR
...
@@ -13,6 +13,14 @@ mkdir -p $BASE_WORK_DIR
mkdir
-p
$BASE_INSTALL_DIR
mkdir
-p
$BASE_INSTALL_DIR
mkdir
-p
$BASE_MODULE_DIR
mkdir
-p
$BASE_MODULE_DIR
download
()
{
if
[[
!
-f
$ARCHIVE
]]
;
then
mkdir
-p
$WORK_DIR
wget
$URL
-O
$ARCHIVE
||
{
echo
'Download failed'
;
exit
1
;
}
fi
}
clean_dir
()
clean_dir
()
{
{
if
[[
-d
$1
]]
if
[[
-d
$1
]]
...
...
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