From e847f37db1bbe027cea0800ae1cff1b270c36c81 Mon Sep 17 00:00:00 2001 From: Joachim Breitner Date: Wed, 16 Apr 2014 17:13:07 +0200 Subject: Use /schroots --- bin/schroot-install.sh | 2 +- 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 -- cgit v1.2.3-54-g00ecf