[SCM] debian-live branch, master, updated. 1.130.1-3-28-gd167d6e

Daniel Baumann daniel at debian.org
Tue Jun 10 21:59:06 UTC 2008


The following commit has been merged in the master branch:
commit 2e98afb6de94617a18ca19326bc9c1d81fa9a1fd
Author: Marco Amadori <marco.amadori at gmail.com>
Date:   Fri Jun 6 23:03:27 2008 +0200

    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 <marco.amadori at gmail.com>

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)

-- 
debian-live



More information about the debian-live-changes mailing list