From efe6e235c05c7ae37e0608f69cada7db38501355 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 8 Jan 2012 04:40:00 +0300 Subject: Fix test script launching. --- manaplustest | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manaplustest') diff --git a/manaplustest b/manaplustest index 2c7d3bc08..12bdc2b8a 100755 --- a/manaplustest +++ b/manaplustest @@ -1,4 +1,5 @@ #!/bin/sh -cd /usr/games +cd $(dirname $(whereis -b manaplus|cut -d " " -f 2)) + manaplus --tests -- cgit v1.2.3-70-g09d2