Subject: rev 23 - trunk

From: [email-masked]
Date: Thu, 22 Aug 2002 00:28:46 -0500

Author: kfogel
Date: Thu, 22 Aug 2002 00:28:43 -0500
New Revision: 23

Modified:
   trunk/dist.sh
Log:
* dist.sh: Remove the introspective update stuff.  It turns out not
  to work, because the shell keeps a file offset instead of reading
  the whole script into memory -- therefore, a script that updates
  itself loses in unpredictable ways.

Modified: trunk/dist.sh
==============================================================================
--- trunk/dist.sh	(original)
+++ trunk/dist.sh	Thu Aug 22 00:28:45 2002
@@ -1,16 +1,11 @@
 #!/bin/sh
 
-# On www.red-bean.com, just "cd /home/www/html/ale; ./dist.sh" to
-# publish the latest version of ale.
+# On www.red-bean.com, just "cd /home/www/html/ale; svn up && ./dist.sh"
+# to publish the latest version of Ale.
 
-if [ ${1-X} = X ]; then
-  svn up
-  ./dist.sh noupdate
-else
-  ./autogen.sh
-  ./configure
-  make dist
-  mv ale-*.tar.gz www/
-  cp docs/ale*.html www/
-  cp docs/ale*.ps www/
-fi
+./autogen.sh
+./configure
+make dist
+mv ale-*.tar.gz www/
+cp docs/ale*.html www/
+cp docs/ale*.ps www/