diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-09 21:28:23 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-09 21:28:23 -0500 |
commit | 7bb9b3debb65b8fe1ebf89c42597f4a18cdffca6 (patch) | |
tree | 114744c0fa4d93493880508ddc54264b1d2c7dba | |
parent | b080060002c72d2c26b59ca7acbad6c7ddcb69aa (diff) | |
download | squashfu-7bb9b3debb65b8fe1ebf89c42597f4a18cdffca6.tar.gz |
When receiving a user specified mount point, use readlink to track absolute path, rather than relative
-rwxr-xr-x | squashfu | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -117,8 +117,8 @@ mount_seed () { mount_union_ro () { # Account for second arg from rollback function to mount at a different mountpoint [[ -n "$2" ]] && { - MOUNT_POINT="$2"; - echo "$2" >> /tmp/squashfu.custom + MOUNT_POINT="$(readlink -f $2)"; + echo "$MOUNT_POINT" >> /tmp/squashfu.custom } || { MOUNT_POINT="${BKUP_ROOT}/rw"; } |