From 9c93df73ff2f1e2bd1dcab83b217176a6f59a6cd Mon Sep 17 00:00:00 2001 From: Ezri Zhu Date: Fri, 12 Jul 2024 15:22:13 -0400 Subject: [PATCH] misc upperdir fixes --- try | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/try b/try index fcf02f78..09e8c08b 100755 --- a/try +++ b/try @@ -193,9 +193,9 @@ do fi ## Symlinks - if [ -L "$mountpoint" ] + if [ -L "$pure_mountpoint" ] then - ln -s $(readlink "$mountpoint") "$SANDBOX_DIR/temproot/$mountpoint" + ln -s $(readlink "$pure_mountpoint") "$SANDBOX_DIR/temproot/$pure_mountpoint" continue fi @@ -289,7 +289,8 @@ EOF chmod 755 "${SANDBOX_DIR}/temproot" while IFS="" read -r mountpoint do - if [ -L "$mountpoint" ] + pure_mountpoint=${mountpoint##*:} + if [ -L "$pure_mountpoint" ] then rm "${SANDBOX_DIR}/temproot/${mountpoint}" fi