summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/warsow/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pts/test-resources/warsow/install.sh')
-rwxr-xr-xpts/test-resources/warsow/install.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/pts/test-resources/warsow/install.sh b/pts/test-resources/warsow/install.sh
index 5e691ac..6f4a14b 100755
--- a/pts/test-resources/warsow/install.sh
+++ b/pts/test-resources/warsow/install.sh
@@ -10,14 +10,15 @@ chmod +x warsow.i386
cd ..
echo "#!/bin/sh
+rm -f .warsow/basewsw/1.log
cd warsow_0.42_unified/
case \$OS_ARCH in
\"x86_64\" )
- ./warsow.x86_64 +logconsole 1 \$@ | grep seconds
+ ./warsow.x86_64 \$@ > \$LOG_FILE 2>&1
;;
* )
- ./warsow.i386 +logconsole 1 \$@ | grep seconds
+ ./warsow.i386 \$@ > \$LOG_FILE 2>&1
;;
esac
-cat ../.warsow/basewsw/1.log | grep seconds" > warsow
+cat \$LOG_FILE | grep seconds" > warsow
chmod +x warsow