Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

Commit

Permalink
Make sed work across OSes
Browse files Browse the repository at this point in the history
Closes #7
  • Loading branch information
mndrix committed May 10, 2012
1 parent 457e9cb commit df106ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Test/Merges.pm
Expand Up @@ -161,7 +161,7 @@ sub merge_ok {
# apply a sed script to a file, modifying it in-place
sub sed {
my ($script, $file) = @_;
system "sed -i '' '$script' $file";
system "sed -ibak '$script' $file";
}

# perform search and replace across an entire file
Expand Down

0 comments on commit df106ad

Please sign in to comment.