#!/bin/bash
-. /home/cowbuilder/bin/nd_cmdsettings.sh
+. /home/cowbuilder/neurodebian.git/tools/nd_cmdsettings.sh
# common options
opts="--distribution $dist --debootstrap debootstrap --aptcache $aptcache"
exit 1
fi
-. /home/cowbuilder/bin/nd_cmdsettings.sh
+. /home/cowbuilder/neurodebian.git/tools/nd_cmdsettings.sh
# common options
opts="--distribution $dist --aptcache $aptcache --buildplace $buildplace"
family=$1
dist=$2
+set -e
+
if [ -z "$family" ]; then
echo "You need to provide a distribution family ('debian', 'ubuntu'); prefix with 'nd+' to enable the NeuroDebian repository."
exit 1
#!/bin/bash
-. /home/cowbuilder/bin/nd_cmdsettings.sh
+. /home/cowbuilder/neurodebian.git/tools/nd_cmdsettings.sh
# common options
opts="--distribution $dist --aptcache $aptcache --buildplace $buildplace"
#!/bin/bash
-. /home/cowbuilder/bin/nd_cmdsettings.sh
+. /home/cowbuilder/neurodebian.git/tools/nd_cmdsettings.sh
# common options
opts="--distribution $dist --aptcache $aptcache --buildplace $buildplace"