forked from Lainports/opnsense-ports
23 lines
371 B
Bash
23 lines
371 B
Bash
--- regress/cmdline/common.sh.orig 2020-09-13 18:20:00 UTC
|
|
+++ regress/cmdline/common.sh
|
|
@@ -24,6 +24,20 @@ export GOT_LOG_DEFAULT_LIMIT=0
|
|
|
|
export MALLOC_OPTIONS=S
|
|
|
|
+# compat wrapper
|
|
+sed()
|
|
+(
|
|
+ for i; do
|
|
+ arg=$1
|
|
+ shift
|
|
+ case $arg in
|
|
+ -i) set - "$@" "$arg" '' ;;
|
|
+ *) set - "$@" "$arg" ;;
|
|
+ esac
|
|
+ done
|
|
+ exec sed "$@"
|
|
+)
|
|
+
|
|
git_init()
|
|
{
|
|
git init -q "$1"
|