From 625eb99a8be440ad0cfcee63598a016f0ce7d4cc Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Sat, 4 Aug 2018 17:48:27 +0200 Subject: [PATCH] FIX a problem with pkgxx repository in chroot: was created in local instead --- install-and-chroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-and-chroot.sh b/install-and-chroot.sh index 7e73f74..67f6570 100755 --- a/install-and-chroot.sh +++ b/install-and-chroot.sh @@ -37,7 +37,7 @@ fi sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf" # Insert pkg++ configuration in chroot -sudo mkdir -p /opt/pkgxx/dev && \ +sudo mkdir -p "$DIR/opt/pkgxx/dev" && \ sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1 # Launch chroot