Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2003:
[Freeciv-Dev] (PR#6147) problems with snapshot creation
Home

[Freeciv-Dev] (PR#6147) problems with snapshot creation

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#6147) problems with snapshot creation
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 12 Sep 2003 00:39:36 -0700
Reply-to: rt@xxxxxxxxxxxxxx

This patch should fix some more problems with snapshot creation: the 
script exits (without a good error message, strangely) and the potfiles 
and snapshot diffs are not created.

The only way to test it is to use it.  So I will...

jason

Index: mklatest
===================================================================
RCS file: /home/freeciv/CVS/admin_bin/mklatest,v
retrieving revision 1.47
diff -u -r1.47 mklatest
--- mklatest    2003/09/05 16:12:48     1.47
+++ mklatest    2003/09/12 07:32:07
@@ -53,9 +53,9 @@
   log "Comparing for these two dates: $LAST to $DATE."
   untgz freeciv-$LAST freeciv-cvs-$LAST.tar.bz2
   untgz freeciv-$DATE freeciv-cvs-$DATE.tar.bz2
-  cd freeciv-$DATE/freeciv
+  cd freeciv-$DATE/freeciv-cvs-$DATE
   rm -f ../../freeciv-cvs-$LAST-$DATE.diff.bz2
-  diff -H -u -r --new-file ../../freeciv-$LAST/freeciv . > 
../../freeciv-cvs-$LAST-$DATE.diff
+  diff -H -u -r --new-file ../../freeciv-$LAST/freeciv-cvs-$LAST . > 
../../freeciv-cvs-$LAST-$DATE.diff
   RES=$?
   cd ../..
   # Were they the same, judging by the error code?
@@ -215,11 +215,11 @@
 
 rm -rf pot-tmp
 untgz pot-tmp $LATESTSNAP/$FREECIV.tar.bz2
-[ ! -s pot-tmp/freeciv/autogen.sh ] && \
+[ ! -s pot-tmp/$FREECIV/configure ] && \
   error "Could not extract $LATESTSNAP/$FREECIV.tar.bz2."
 
-cd pot-tmp/freeciv
-( ./autogen.sh --disable-client --disable-server --disable-gtktest 
--disable-imlibtest >/dev/null )
+cd pot-tmp/$FREECIV
+( ./configure --disable-client --disable-server --disable-gtktest 
--disable-imlibtest >/dev/null )
 [ ! -s po/Makefile ] && \
   error "Could not configure (missing po/Makefile)."
 

[Prev in Thread] Current Thread [Next in Thread]