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

Minor fixes over last commit

parent 9196d1d3
No related branches found
No related tags found
No related merge requests found
...@@ -3,9 +3,10 @@ ...@@ -3,9 +3,10 @@
set -e set -e
if [ "${#}" != 3 ]; then if [ "${#}" != 4 ]; then
echo "usage: `basename $0` <basedir> <name> <python-version> <bob-devel>" p=`basename $0`
echo "example: `basename $0` /opt/conda bob-devel-py35 3.5 2017.06.06" echo "usage: ${p} <basedir> <name> <python-version> <bob-devel-version>"
echo "example: ${p} /opt/conda bob-devel-py35 3.5 2017.06.20"
exit 1 exit 1
fi fi
...@@ -25,6 +26,6 @@ if [ -d ${BASEDIR}/envs/${NAME} ]; then ...@@ -25,6 +26,6 @@ if [ -d ${BASEDIR}/envs/${NAME} ]; then
fi fi
echo "[>>] Creating environment ${NAME} for python ${PYTHON_VERSION} with bob dependencies..." echo "[>>] Creating environment ${NAME} for python ${PYTHON_VERSION} with bob dependencies..."
${CONDA} create --yes --name=${NAME} --override-channels --channel=http://www.idiap.ch/software/bob/conda --channel=defaults python=${PYTHON_VERSION} bob-devel=${BOB_DEVEL} ${CONDA} create --yes --name=${NAME} --override-channels --channel=http://www.idiap.ch/software/bob/conda --channel=defaults python=${PYTHON_VERSION} bob-devel=${BOB_DEVEL_VERSION}
echo "[>>] Bye!" echo "[>>] Bye!"
exit 0 exit 0
#!/usr/bin/env bash #!/usr/bin/env bash
# Sat 28 Jan 09:16:48 2017 CET # Sat 28 Jan 09:16:48 2017 CET
if [ "${#}" != 1 ]; then if [ "${#}" != 2 ]; then
echo "usage: `basename $0` <prefix> <bob-devel-version>" echo "usage: `basename $0` <prefix> <bob-devel-version>"
echo "example: `basename $0` /opt/conda 2017.06.06" echo "example: `basename $0` /opt/conda 2017.06.20"
exit 1 exit 1
fi fi
......
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