Commit 9a229a41 authored by Michael Hanke's avatar Michael Hanke

Adjust scripts for new HOME dir.

parent c25fd1c8
#!/bin/bash
. /home/cowbuilder/neurodebian.git/tools/nd_cmdsettings.sh
. /home/neurodebian/neurodebian.git/tools/nd_cmdsettings.sh
# common options
opts="--distribution $dist --debootstrap debootstrap --aptcache $aptcache"
......@@ -8,19 +8,19 @@ opts="--distribution $dist --debootstrap debootstrap --aptcache $aptcache"
for a in i386 amd64; do
echo "Building $a base path..."
if [ -d /home/cowbuilder/cow/${family}-${dist}-${a}.cow ]; then
echo "/home/cowbuilder/cow/${family}-${dist}-${a}.cow exists. Ignoring arch."
if [ -d ${cowbuilderroot}/cow/${family}-${dist}-${a}.cow ]; then
echo "${cowbuilderroot}/cow/${family}-${dist}-${a}.cow exists. Ignoring arch."
continue
fi
if [ "${family:0:3}" = "nd+" ]; then
echo "Including NeuroDebian repository..."
cowbuilder --create --basepath /home/cowbuilder/cow/${family}-${dist}-${a}.cow $opts \
cowbuilder --create --basepath ${cowbuilderroot}/cow/${family}-${dist}-${a}.cow $opts \
--components "$components" \
--mirror "$mirror" \
--debootstrapopts --arch --debootstrapopts $a \
--othermirror "deb http://neuro.debian.net/debian $dist main contrib non-free"
else
cowbuilder --create --basepath /home/cowbuilder/cow/${family}-${dist}-${a}.cow $opts \
cowbuilder --create --basepath ${cowbuilderroot}/cow/${family}-${dist}-${a}.cow $opts \
--components "$components" \
--mirror "$mirror" \
--debootstrapopts --arch --debootstrapopts $a
......
......@@ -16,7 +16,7 @@ EOT
exit 1
fi
. /home/cowbuilder/neurodebian.git/tools/nd_cmdsettings.sh
. /home/neurodebian/neurodebian.git/tools/nd_cmdsettings.sh
DEBEMAIL="pkg-exppsy-maintainers@lists.alioth.debian.org"
DEBFULLNAME="NeuroDebian Maintainers"
......
......@@ -31,7 +31,7 @@ EOT
exit 1
fi
. /home/cowbuilder/neurodebian.git/tools/nd_cmdsettings.sh
. /home/neurodebian/neurodebian.git/tools/nd_cmdsettings.sh
# common options
opts="--distribution $dist --aptcache $aptcache --buildplace $buildplace"
......
......@@ -14,9 +14,13 @@ if [ -z "$dist" ]; then
fi
# basic settings
cowbuilderroot="/home/cowbuilder"
cowbuilderroot="/home/neurodebian"
buildplace="${cowbuilderroot}/build"
# all cuurently supported dists
alldists="nd+debian-sid nd+debian-squeeze nd+debian-lenny \
nd+ubuntu-hardy nd+ubuntu-intrepid nd+ubuntu-jaunty"
# default is debian
aptcache="${cowbuilderroot}/debian_aptcache"
components="main contrib non-free"
......
#!/bin/bash
. /home/cowbuilder/neurodebian.git/tools/nd_cmdsettings.sh
. /home/neurodebian/neurodebian.git/tools/nd_cmdsettings.sh
# common options
opts="--distribution $dist --aptcache $aptcache --buildplace $buildplace"
......
#!/bin/bash
. /home/cowbuilder/neurodebian.git/tools/nd_cmdsettings.sh
. /home/neurodebian/neurodebian.git/tools/nd_cmdsettings.sh
# common options
opts="--distribution $dist --aptcache $aptcache --buildplace $buildplace"
......@@ -13,5 +13,5 @@ fi
for a in $arch; do
echo "Updating arch $a..."
cowbuilder --update --basepath /home/cowbuilder/cow/${family}-${dist}-${a}.cow $opts
cowbuilder --update --basepath ${cowbuilderroot}/cow/${family}-${dist}-${a}.cow $opts
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment