tConvert diagnostrics script to posix shell - sphere - GPU-based 3D discrete el… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 6ec51c0ddd515f3381c79c72e4d0666da6231197 | |
parent 4c5c132c13af691323015c7bf75ebc0bcb333c57 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 22 Aug 2019 11:06:08 +0200 | |
Convert diagnostrics script to posix shell | |
Diffstat: | |
M run_diagnostics.sh | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/run_diagnostics.sh b/run_diagnostics.sh | |
t@@ -1,8 +1,8 @@ | |
-#!/bin/bash | |
+#!/bin/sh | |
OUTFILE=diagnostics.txt | |
-function report { | |
+report() { | |
echo >> $OUTFILE | |
echo "#### $@ ###" >> $OUTFILE | |
$@ >> $OUTFILE 2>&1 |