mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-13 20:11:19 +02:00
12 lines
392 B
Plaintext
12 lines
392 B
Plaintext
--- ./doc/progs/run.orig 2013-06-09 23:20:14.695515753 +1000
|
|
+++ ./doc/progs/run 2013-06-09 23:20:14.695515753 +1000
|
|
@@ -87,7 +87,7 @@
|
|
# Write to temporary file to avoid mingw bash bug.
|
|
TMPFILE="${TMPDIR:-/tmp}/gotest3.$USER"
|
|
|
|
-function testit {
|
|
+testit () {
|
|
./$1 >"$TMPFILE" 2>&1 || true
|
|
x=$(echo $(cat "$TMPFILE")) # extra echo canonicalizes
|
|
if ! echo "$x" | grep "$2" > /dev/null
|