From: Tanguy Ortolo Date: Sun, 14 Mar 2010 22:02:11 +0000 (+0100) Subject: Also respecting persistent-path parameter for snapshots (Closes: #570162). X-Git-Tag: debian/2.0.15-1~209 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=1094f4ffce8c2d53c7200184ed42dc1bb15c867e;p=live-boot-grml.git Also respecting persistent-path parameter for snapshots (Closes: #570162). --- diff --git a/scripts/live b/scripts/live index d162f75..f79eaff 100755 --- a/scripts/live +++ b/scripts/live @@ -996,7 +996,7 @@ find_snap () if [ "${PERSISTENT}" != "nofiles" ] then # search for image files - snapdata=$(find_files "${snap_label}.squashfs ${snap_label}.cpio.gz ${snap_label}.ext2 ${snap_label}.ext3 ${snap_label}.ext4 ${snap_label}.jffs2") + snapdata=$(find_files "${PERSISTENT_PATH}${snap_label}.squashfs ${PERSISTENT_PATH}${snap_label}.cpio.gz ${PERSISTENT_PATH}${snap_label}.ext2 ${PERSISTENT_PATH}${snap_label}.ext3 ${PERSISTENT_PATH}${snap_label}.ext4 ${PERSISTENT_PATH}${snap_label}.jffs2") fi if [ -z "${snapdata}" ]