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 @@
set -e
if [ "${#}" != 3 ]; then
echo "usage: `basename $0` <basedir> <name> <python-version> <bob-devel>"
echo "example: `basename $0` /opt/conda bob-devel-py35 3.5 2017.06.06"
if [ "${#}" != 4 ]; then
p=`basename $0`
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
fi
......@@ -25,6 +26,6 @@ if [ -d ${BASEDIR}/envs/${NAME} ]; then
fi
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!"
exit 0
#!/usr/bin/env bash
# Sat 28 Jan 09:16:48 2017 CET
if [ "${#}" != 1 ]; then
if [ "${#}" != 2 ]; then
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
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