1
0
mirror of synced 2026-01-24 11:01:41 +00:00

Fix role script editor crashes with dash (Closes: #605203)

This commit is contained in:
Raphaël HALIMI 2011-03-08 23:21:23 +01:00 committed by Axel Beckert
parent 47bdce47d4
commit 754e1c7c0c

View File

@ -61,8 +61,7 @@ for i in `find ${source} -name '*.sed' -print`; do
#
# Get the name of the file, minus the source prefix
#
sourcelen=${#source}
file=/${i:$sourcelen}
file=${i#$source}
#
# Strip the .sed suffix