Dylan Smith : runtest: More helpful error when top of wine directory isn' t found.

Alexandre Julliard julliard at winehq.org
Wed Oct 8 08:32:51 CDT 2008


Module: wine
Branch: master
Commit: 8d88fe6d4d5b94552497e68e806f2eeed1efff66
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8d88fe6d4d5b94552497e68e806f2eeed1efff66

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Tue Oct  7 12:16:36 2008 -0400

runtest: More helpful error when top of wine directory isn't found.

---

 tools/runtest |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tools/runtest b/tools/runtest
index a3c9331..483872c 100755
--- a/tools/runtest
+++ b/tools/runtest
@@ -106,6 +106,9 @@ else
     elif [ -f "../server/wineserver" ]; then topobjdir=".."
     elif [ -f "../../server/wineserver" ]; then topobjdir="../.."
     elif [ -f "../../../server/wineserver" ]; then topobjdir="../../.."
+    else
+        echo "Can't find the top of the Wine tree (use the -T argument)" 2>&1
+        usage
     fi
 fi
 




More information about the wine-cvs mailing list