]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/nd_login
Merge tag 'vm-7.2.0'
[neurodebian.git] / tools / nd_login
index 409cddc1538306a389243e1df14c116dc8d6d47e..48041020377a69efca509652efa992f1ae4b3344 100755 (executable)
@@ -35,13 +35,13 @@ if [ -z "$arch" ]; then
   exit 1
 fi
 
-. /home/neurodebian/neurodebian.git/tools/nd_cmdsettings.sh
+. /etc/neurodebian/cmdsettings.sh
 
 # common options
 opts="--distribution $dist --aptcache $aptcache --buildplace $buildplace"
 
 
-if [ -z "bmdir" ]; then
+if [ -n "bmdir" ]; then
   options="$opts --bindmounts $bmdir"
 else
   options="$opts"
@@ -50,4 +50,4 @@ fi
 cowbuilder --login \
              --basepath ${cowbuilderroot}/cow/${family}-${dist}-${arch}.cow \
              $options \
-             $*
+             "$@"