From a08b06726ab4411b0bc628f2e735f653bce385fb Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Fri, 9 Apr 2010 01:58:02 +0200 Subject: [PATCH] Fix one more bashism: ${parm/?/pat[/str]} --- roles/editor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?