From: Marco Amadori Date: Fri, 6 Jun 2008 21:03:27 +0000 (+0200) Subject: live-snapshot: fixes snapshotting from resync string. X-Git-Tag: debian/1.136.1-1~26 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=28a2ddba611b32125174d1d1f88d2b2b6709399d;p=live-boot-grml.git live-snapshot: fixes snapshotting from resync string. * Now it properly overwrites previous snapshot instead of just putting it in the $PWD. Signed-off-by: Marco Amadori --- diff --git a/bin/live-snapshot b/bin/live-snapshot index dc1fa6d..b523c4a 100755 --- a/bin/live-snapshot +++ b/bin/live-snapshot @@ -206,7 +206,7 @@ Defaults () then SNAP_COW=$(echo "${SNAP_RESYNC_STRING}" | cut -f1 -d ':') SNAP_DEV=$(echo "${SNAP_RESYNC_STRING}" | cut -f2 -d ':') - DEST=$(echo "${SNAP_RESYNC_STRING}" | cut -f3 -d ':') + DEST="${MOUNTP}/$(echo ${SNAP_RESYNC_STRING} | cut -f3 -d ':')" case "${DEST}" in *.cpio.gz)