From: Jan Blunck Date: Mon, 2 Sep 2013 14:56:39 +0000 (+0200) Subject: Use PERSISTENCE_PATH with a trailing "/". X-Git-Tag: debian/4.0_a14-1~6 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=25cc091826ff32e5b1e33fe668fe273bec59724c Use PERSISTENCE_PATH with a trailing "/". When using PERSISTENCE_PATH we should prepend and append a pathname separator as this is done with other user provided paths as well, e.g. LIVE_MEDIA_PATH. --- diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh index d85a1d1..570a12a 100755 --- a/components/9990-misc-helpers.sh +++ b/components/9990-misc-helpers.sh @@ -875,7 +875,7 @@ probe_for_file_name () for label in ${overlays} do - path=${backing}/${PERSISTENCE_PATH}${label} + path=${backing}/${PERSISTENCE_PATH}/${label} if [ -f "${path}" ] then local loopdev