tConvert diagnostrics script to posix shell - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 6ec51c0ddd515f3381c79c72e4d0666da6231197
(DIR) parent 4c5c132c13af691323015c7bf75ebc0bcb333c57
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
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(-)
---
(DIR) 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