From 25cc091826ff32e5b1e33fe668fe273bec59724c Mon Sep 17 00:00:00 2001 From: Jan Blunck Date: Mon, 2 Sep 2013 16:56:39 +0200 Subject: 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. --- components/9990-misc-helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components') 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 -- cgit v1.2.3