From 71c113d0fedc7e65360122a63d7d507844af9924 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Sun, 5 Aug 2018 10:39:34 +0200 Subject: [PATCH] FIX problem with permissions while installing on local --- 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 f111ed3..f1118ad 100755 --- a/install-and-chroot.sh +++ b/install-and-chroot.sh @@ -39,7 +39,7 @@ fi sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf" # Launch chroot -cp build $DIR/build && sh $DIR/enter-chroot /build || exit 1 +sudo cp build $DIR/build && sh $DIR/enter-chroot /build || exit 1 # Insert pkg++ configuration in chroot sudo mkdir -p "$DIR/opt/pkgxx/dev" && \