[cvslog] (2003-04-17 05:09:42 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Wed Apr 16 23:09:42 CST 2003


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2003-04-17 05:09:42 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     misc/addpatch src/patch.h

Log message:

* Addpatch compatability.

---------------------- diff included ----------------------
Index: eggdrop1.6/misc/addpatch
diff -u eggdrop1.6/misc/addpatch:1.5 eggdrop1.6/misc/addpatch:1.6
--- eggdrop1.6/misc/addpatch:1.5	Wed Apr 16 16:53:33 2003
+++ eggdrop1.6/misc/addpatch	Thu Apr 17 00:09:32 2003
@@ -24,7 +24,7 @@
 # configuration script generated by Autoconf, you may include it under
 # the same distribution terms that you use for the rest of that program.
 #
-# $Id: addpatch,v 1.5 2003/04/16 21:53:33 wcc Exp $
+# $Id: addpatch,v 1.6 2003/04/17 05:09:32 wcc Exp $
 
 show_usage()
 {
@@ -35,18 +35,18 @@
 	exit 1
 }
 
-if [ "x${1}" = "x" ]; then
+if test "x${1}" = "x"; then
 	show_usage;
 else
 	patch_name=$1
 fi
 
-if [ ! -f src/main.c ]; then
+if test ! -f src/main.c; then
 	echo "You are not in the Eggdrop root directory."
 	exit 1
 fi
 
-if [ "x${2}" = "x" ] || [ "$unix_time" = now ]; then
+if test "x${2}" = "x" || test "$unix_time" = now; then
 	unix_time=`date +%s`
 	echo "Setting unixtime to now."
 else
@@ -55,7 +55,7 @@
 
 oldpatch_name=`cat src/patch.h | grep -E '^patch.*\);$'| awk '-F"' '{ print $2 }'`
 
-if [ "x${oldpatch_name}" = "x" ]; then
+if test "x${oldpatch_name}" = "x"; then
 	oldpatch_name='(could not detect)'
 fi
 
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.984 eggdrop1.6/src/patch.h:1.985
--- eggdrop1.6/src/patch.h:1.984	Wed Apr 16 23:52:48 2003
+++ eggdrop1.6/src/patch.h	Thu Apr 17 00:09:32 2003
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.984 2003/04/17 04:52:48 wcc Exp $
+ * $Id: patch.h,v 1.985 2003/04/17 05:09:32 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1050555169");            /* current unixtime */
+patch("1050556174");            /* current unixtime */
 /*
  *
  *
  */
-patch("ipv6-5");
+patch("addpatch2");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list