1
0
mirror of synced 2026-01-25 19:36:27 +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 90e97b05e9
commit c4e30ad73d

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