From: Michael Hanke Date: Thu, 3 Sep 2009 15:07:11 +0000 (-0400) Subject: Adjust path for new location of tools. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c3f89cc850352288c6d4b726098374fb7ce0463b;p=neurodebian.git Adjust path for new location of tools. --- diff --git a/tools/nd_adddist b/tools/nd_adddist index f0d8f6f..9699dd8 100755 --- a/tools/nd_adddist +++ b/tools/nd_adddist @@ -1,6 +1,6 @@ #!/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" diff --git a/tools/nd_build b/tools/nd_build index 6bd6d88..549e24d 100755 --- a/tools/nd_build +++ b/tools/nd_build @@ -31,7 +31,7 @@ EOT 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" diff --git a/tools/nd_cmdsettings.sh b/tools/nd_cmdsettings.sh index 9fe51fa..d34ade1 100755 --- a/tools/nd_cmdsettings.sh +++ b/tools/nd_cmdsettings.sh @@ -1,6 +1,8 @@ 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 diff --git a/tools/nd_gitbuild b/tools/nd_gitbuild index f891e5f..a80af07 100755 --- a/tools/nd_gitbuild +++ b/tools/nd_gitbuild @@ -1,6 +1,6 @@ #!/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" diff --git a/tools/nd_updatedist b/tools/nd_updatedist index fc2dedd..81f511f 100755 --- a/tools/nd_updatedist +++ b/tools/nd_updatedist @@ -1,6 +1,6 @@ #!/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"