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

Merge branch 'build_parameter' into 'master'

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

See merge request !19
parents 91c3a6da 912a8da2
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.
Please register or to comment