diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2014-04-16 17:13:07 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-04-16 18:03:55 +0200 |
commit | e847f37db1bbe027cea0800ae1cff1b270c36c81 (patch) | |
tree | f93ce62283c686ef1451d77161351ab28277aa55 | |
parent | ef21849e646c1a0712735583409c4490935f8145 (diff) | |
download | jenkins.debian.net-e847f37db1bbe027cea0800ae1cff1b270c36c81.tar.xz |
Use /schroots
-rwxr-xr-x | bin/schroot-install.sh | 2 | ||||
-rwxr-xr-x | update_jdn.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/schroot-install.sh b/bin/schroot-install.sh index 22f7eddc..181b3972 100755 --- a/bin/schroot-install.sh +++ b/bin/schroot-install.sh @@ -25,7 +25,7 @@ if [ -z "$CHROOT_BASE" ]; then export CHROOT_BASE=/chroots fi if [ -z "$SCHROOT_BASE" ]; then - export SCHROOT_BASE=$CHROOT_BASE/schroot + export SCHROOT_BASE=/schroots fi if [ $# -lt 2 ]; then diff --git a/update_jdn.sh b/update_jdn.sh index 7a910f5f..a8e1d057 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -12,7 +12,7 @@ explain() { } # make sure needed directories exists -for directory in /srv/jenkins /chroots /chroots/schroots; do +for directory in /srv/jenkins /chroots /schroots; do if [ ! -d $directory ] ; then sudo mkdir $directory sudo chown jenkins.jenkins $directory |