From 2ea4062c8dd6d9406132d29979163c11c3560823 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Fri, 23 Aug 2019 05:35:10 +0000 Subject: [PATCH] script to fix AUR when files changed locally --- enter_chroot.sh | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/enter_chroot.sh b/enter_chroot.sh old mode 100644 new mode 100755 index 2e7830c..a4f6270 --- a/enter_chroot.sh +++ b/enter_chroot.sh @@ -1,4 +1,6 @@ #!/bin/bash CHDIR=$(dirname "$(realpath $0)")/chroot -$CHDIR/bin/arch-chroot $CHDIR su joel +mount --bind $CHDIR $CHDIR +$CHDIR/bin/arch-chroot $CHDIR su joel +umount $CHDIR -- Gitblit v1.9.3