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
53671ff5
Commit
53671ff5
authored
Nov 20, 2015
by
Matthieu Muffato
Browse files
Ask before overwriting existing checkouts
parent
56c0efa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
guihive-deploy.sh
guihive-deploy.sh
+6
-0
No files found.
guihive-deploy.sh
View file @
53671ff5
...
...
@@ -9,6 +9,12 @@ GUIHIVE_CLONE_LOCATION="${DEPLOY_LOCATION}/clones/guiHive"
GUIHIVE_VERSIONS_DIR
=
"
${
DEPLOY_LOCATION
}
"
/versions
EHIVE_VERSIONS_DIR
=
"
${
DEPLOY_LOCATION
}
"
/ensembl-hive
if
[
-d
"
$GUIHIVE_VERSIONS_DIR
"
]
&&
[
-d
"
$EHIVE_VERSIONS_DIR
"
]
then
echo
"'
$GUIHIVE_VERSIONS_DIR
' and/or '
$EHIVE_VERSIONS_DIR
' already exist. Press ctrl+c to exit now, or enter otherwise/"
read
fi
# Any failure will cause the script to exit
trap
"echo 'An error occurred. Deployment aborted'; exit 1"
EXIT
set
-e
...
...
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