summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanguy Ortolo <tanguy+debian@ortolo.eu>2010-03-14 23:02:11 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:07 +0100
commit1094f4ffce8c2d53c7200184ed42dc1bb15c867e (patch)
tree76ac94d38b3f9cfde39b70484dd0e1169f85963e
parent4c8b0ac3778c7fd5d176d9e75b3ab068ad57dbcc (diff)
downloadlive-boot-1094f4ffce8c2d53c7200184ed42dc1bb15c867e.tar.gz
live-boot-1094f4ffce8c2d53c7200184ed42dc1bb15c867e.zip
Also respecting persistent-path parameter for snapshots (Closes: #570162).
-rwxr-xr-xscripts/live2
1 files changed, 1 insertions, 1 deletions
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}" ]