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/1.173.5-1~1 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;ds=inline;h=5ce4102101df0e9a438f57997fa9a4a0874cbdff;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}" ]