Skip to content
Snippets Groups Projects
Commit 912a8da2 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Allow the user to pass a parameter to define database to download (see bob.db.base#11)

parent 91c3a6da
No related branches found
No related tags found
1 merge request!19Allow the user to pass a parameter to define database to download (see bob/bob.db.base#11)
#!/usr/bin/env bash
# Wed 21 Sep 2016 13:08:05 CEST
# Tue 13 Dec 2016 17:36:51 CET
# Parameters:
#
# $1: database name to run the download command for. If unset, use "all"
#
source $(dirname ${0})/functions.sh
run_cmd ./bin/buildout
dbname=${1:-all}
if [ -x ./bin/bob_dbmanage.py ]; then
run_cmd ./bin/bob_dbmanage.py all download --force;
run_cmd ./bin/bob_dbmanage.py ${dbname} download --force;
fi
if [ -d ./doc ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment