projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
013b2b1
)
Use PERSISTENCE_PATH with a trailing "/".
author
Jan Blunck
<jblunck@vyatta.com>
Mon, 2 Sep 2013 14:56:39 +0000
(16:56 +0200)
committer
Daniel Baumann
<mail@daniel-baumann.ch>
Fri, 13 Sep 2013 12:15:43 +0000
(14:15 +0200)
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
patch
|
blob
|
history
diff --git
a/components/9990-misc-helpers.sh
b/components/9990-misc-helpers.sh
index
d85a1d1
..
570a12a
100755
(executable)
--- 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