summaryrefslogtreecommitdiff
path: root/components/9990-misc-helpers.sh
diff options
context:
space:
mode:
authorJan Blunck <jblunck@vyatta.com>2013-09-02 16:56:39 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-09-13 14:15:43 +0200
commit25cc091826ff32e5b1e33fe668fe273bec59724c (patch)
tree19e0d148e4a8965536f3c69d01872751299812c1 /components/9990-misc-helpers.sh
parent013b2b1b7fceb4d63d7b8b096a91d5d412305753 (diff)
downloadlive-boot-25cc091826ff32e5b1e33fe668fe273bec59724c.tar.gz
live-boot-25cc091826ff32e5b1e33fe668fe273bec59724c.zip
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.
Diffstat (limited to 'components/9990-misc-helpers.sh')
-rwxr-xr-xcomponents/9990-misc-helpers.sh2
1 files changed, 1 insertions, 1 deletions
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