Skip to content

Commit

Permalink
merge try misc changes into try-timed
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrizhu committed Aug 22, 2024
1 parent 7e0620b commit a61ebbf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions try-timed
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,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 @@ -314,7 +314,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 a61ebbf

Please sign in to comment.