diff options
Diffstat (limited to 'devel/got/files/patch-regress_cmdline_histedit.sh')
-rw-r--r-- | devel/got/files/patch-regress_cmdline_histedit.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/got/files/patch-regress_cmdline_histedit.sh b/devel/got/files/patch-regress_cmdline_histedit.sh new file mode 100644 index 000000000000..5459b7681b94 --- /dev/null +++ b/devel/got/files/patch-regress_cmdline_histedit.sh @@ -0,0 +1,20 @@ +--- regress/cmdline/histedit.sh.orig 2020-12-13 15:08:45 UTC ++++ regress/cmdline/histedit.sh +@@ -1468,7 +1468,7 @@ test_histedit_fold_only() { + + cat > $testroot/editor.sh <<EOF + #!/bin/sh +-sed -i 's/.*/committing folded changes/' "\$1" ++sed -i '' 's/.*/committing folded changes/' "\$1" + EOF + chmod +x $testroot/editor.sh + +@@ -1584,7 +1584,7 @@ test_histedit_fold_only_empty_logmsg() { + + cat > $testroot/editor.sh <<EOF + #!/bin/sh +-sed -i 'd' "\$1" ++sed -i '' 'd' "\$1" + EOF + chmod +x $testroot/editor.sh + |