Skip to content

Commit

Permalink
misc upperdir fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrizhu committed Jul 12, 2024
1 parent 4acc903 commit 9c93df7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions try
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9c93df7

Please sign in to comment.