diff --git a/roles/editor b/roles/editor index 75c46b1..8c0b74c 100755 --- a/roles/editor +++ b/roles/editor @@ -67,7 +67,7 @@ for i in `find ${source} -name '*.sed' -print`; do # # Strip the .sed suffix # - file=${file/.sed/} + file=$(echo "$file" | sed -e 's/\.sed$//') # # Does the file exist in the new install?