Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
guiHive
Commits
bf92e48a
Commit
bf92e48a
authored
Jan 24, 2018
by
Matthieu Muffato
Browse files
More verbose about what the script is doing
parent
213b00b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
guihive-deploy.sh
guihive-deploy.sh
+3
-0
No files found.
guihive-deploy.sh
View file @
bf92e48a
...
...
@@ -11,12 +11,14 @@ GUIHIVE_VERSIONS_DIR="${DEPLOY_LOCATION}"/versions
# if you specify a new EHIVE_SOURCE, the Hive cache will be automatically cleaned up:
if
[
-n
"
$EHIVE_SOURCE
"
]
then
echo
"RM "
rm
-rf
"
$EHIVE_CLONE_LOCATION
"
"
$EHIVE_VERSIONS_DIR
"
rm
-rf
"
$EHIVE_CLONE_LOCATION
"
"
$EHIVE_VERSIONS_DIR
"
fi
# if you specify a new EHIVE_SOURCE, the guiHive cache will be automatically cleaned up:
if
[
-n
"
$GUIHIVE_SOURCE
"
]
then
echo
"RM "
rm
-rf
"
$GUIHIVE_CLONE_LOCATION
"
"
$GUIHIVE_VERSIONS_DIR
"
rm
-rf
"
$GUIHIVE_CLONE_LOCATION
"
"
$GUIHIVE_VERSIONS_DIR
"
fi
...
...
@@ -49,6 +51,7 @@ reference_clone () {
then
GIT_DIR
=
"
$2
"
git fetch
else
echo
"GITCLONE: "
git clone
--mirror
"
$1
"
"
$2
"
git clone
--mirror
"
$1
"
"
$2
"
fi
}
...
...
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