Fix br, sed script

This commit is contained in:
Mamoru TASAKA 2015-08-02 21:52:59 +09:00
parent 7676cfd574
commit 4946d92822

View File

@ -36,6 +36,7 @@ BuildRequires: rubygem(aruba)
BuildRequires: rubygem(flexmock)
BuildRequires: rubygem(mocha)
BuildRequires: rubygem(rr)
BuildRequires: rubygem(coderay)
BuildRequires: git
%endif
# Make the following installed by default
@ -105,7 +106,7 @@ FAILTEST+=("does not load files in the default path when run by ruby")
for ((i = 0; i < ${#FAILFILE[@]}; i++)) {
sed -i \
-e "\@${FAILTEST[$i]}@s|do|, :broken => true do|" \
-e "\@${FAILTEST[$i]}@s|do$|, :broken => true do|" \
${FAILFILE[$i]}
}