Browse Source

Fixed overlay_apply() to remove the leading / produced when translating D_foodirs

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
07eb9e0706
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/overlay/overlay-functions.in

+ 2
- 1
lib/overlay/overlay-functions.in

@ -32,7 +32,8 @@ overlay_get_filename()
{ {
local filename="${1##*/}"; filename="${filename%.*}" local filename="${1##*/}"; filename="${filename%.*}"
echo "${filename}" | tr '_%' '/_' | rock_substitute
# rock_substitute will add a leading / for most translations
echo "${filename}" | tr '_%' '/_' | rock_substitute | sed -e 's,^/,,'
} }
# apply an overlay dir # apply an overlay dir

Loading…
Cancel
Save