Fix role script editor crashes with dash (Closes: #605203)
This commit is contained in:
committed by
Axel Beckert
parent
90e97b05e9
commit
c4e30ad73d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user