Author: jscinoz-guest
Date: 2008-06-29 06:14:17 +0000 (Sun, 29 Jun 2008)
New Revision: 7559

Modified:
   packages/trunk/quake3/debian/scripts/quake3
   packages/trunk/quake3/debian/scripts/quake3-server
Log:
dirty hack to make botlib.log go in ~/.q3a/baseq3

Modified: packages/trunk/quake3/debian/scripts/quake3
===================================================================
--- packages/trunk/quake3/debian/scripts/quake3 2008-06-29 02:20:03 UTC (rev 
7558)
+++ packages/trunk/quake3/debian/scripts/quake3 2008-06-29 06:14:17 UTC (rev 
7559)
@@ -32,6 +32,15 @@
        shift
 }; done
 
+# baseq3 creates botlib.log in cwd rather than ~/.q3a/baseq3
+# this is a dirty hack to work around this issue
+if [ -d $HOME/.q3a/baseq3 ]; then
+       cd $HOME/.q3a/baseq3
+else
+       mkdir -p $HOME/.q3a/baseq3
+       cd $HOME/.q3a/baseq3
+fi
+
 # Ready to rumble!
 
 if [ ${QUIET} -eq 1 ]; then

Modified: packages/trunk/quake3/debian/scripts/quake3-server
===================================================================
--- packages/trunk/quake3/debian/scripts/quake3-server  2008-06-29 02:20:03 UTC 
(rev 7558)
+++ packages/trunk/quake3/debian/scripts/quake3-server  2008-06-29 06:14:17 UTC 
(rev 7559)
@@ -32,6 +32,15 @@
        shift
 }; done
 
+# baseq3 creates botlib.log in cwd rather than ~/.q3a/baseq3
+# this is a dirty hack to work around this issue
+if [ -d $HOME/.q3a/baseq3 ]; then
+       cd $HOME/.q3a/baseq3
+else
+       mkdir -p $HOME/.q3a/baseq3
+       cd $HOME/.q3a/baseq3
+fi
+
 # Ready to rumble!
 
 if [ ${QUIET} -eq 1 ]; then


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to