diff options
-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 |