home · contact · privacy
Update/improve tests for lack of compiled files to run redo for.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 25 Aug 2015 03:34:27 +0000 (05:34 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 25 Aug 2015 03:34:27 +0000 (05:34 +0200)
roguelike-server
start_server_client_union.sh

index ef3fdbcc5a8491fe71e8f8418f775132b5b1fcbe..3672296a1fd710a115638e57b418338baef16423 100755 (executable)
@@ -33,8 +33,7 @@ def prep_library():
     """Prepare ctypes library at ./libplomrogue.so"""
     libpath = ("./libplomrogue.so")
     if not os.access(libpath, os.F_OK):
-        raise SystemExit("No library " + libpath +
-                         ", run ./compile-server.sh first?")
+        raise SystemExit("No library " + libpath + ", run ./redo first?")
     libpr = ctypes.cdll.LoadLibrary(libpath)
     libpr.seed_rrand.restype = ctypes.c_uint32
     return libpr
index 69c959dcab8f633ab03fa514d4d47696e997e964..3b7dccc387636e8a82b4b7aa05a4d4a8cbae7e40 100755 (executable)
@@ -10,14 +10,14 @@ then
 fi
 
 # Give helpful message to players that want to start without compiling first.
-if [ ! -e ./roguelike-server ]
+if [ ! -e ./roguelike-client ]
 then
-    echo 'No ./roguelike-server file found to execute. Try "./redo" first?'
+    echo 'No ./roguelike-client executable found. Try "./redo" first?'
     false
 fi
-if [ ! -e ./roguelike-client ]
+if [ ! -e ./libplomrogue.so ]
 then
-    echo 'No ./roguelike-client file found to execute. Try "./redo" first?'
+    echo 'No ./libplomrogue.so library found. Try "./redo" first?'
     false
 fi