From 5119f57f6052229b81025286d4d6b424178b513d Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 14 Jun 2016 11:47:42 -0400 Subject: enter_dev_chroot.sh: remove unneeded leading slash in ckMount --- templates/enter_dev_chroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/enter_dev_chroot.sh b/templates/enter_dev_chroot.sh index 1b10a01..b53df38 100755 --- a/templates/enter_dev_chroot.sh +++ b/templates/enter_dev_chroot.sh @@ -41,7 +41,7 @@ title() { # args are the title # ckMount -t # ckMount --bind ckMount() { # $1= -t|--bind, $2= fstype|srcDir $3= mntDir|dstDir - grep -q /$BROOT/$3 /proc/mounts || { + grep -q $BROOT/$3 /proc/mounts || { [ -d "$3" ] || mkdir -p $3 echo -e "mounting ${C_B}$3${C_N}" case $1 in -- cgit v0.12