r5 - trunk/logbuch-tools

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Dec 14 14:26:24 CET 2006


Author: thomas
Date: 2006-12-14 14:26:24 +0100 (Thu, 14 Dec 2006)
New Revision: 5

Modified:
   trunk/logbuch-tools/logbuch-installer
Log:
Jump to the start of the file before looking for the position for new a entry.

Original commit on Fri Aug 25 11:44:40 2006 +0200 by Thomas Arendsen Hein


Modified: trunk/logbuch-tools/logbuch-installer
===================================================================
--- trunk/logbuch-tools/logbuch-installer	2006-12-14 13:25:30 UTC (rev 4)
+++ trunk/logbuch-tools/logbuch-installer	2006-12-14 13:26:24 UTC (rev 5)
@@ -130,7 +130,7 @@
                            (move-beginning-of-line 1)
                            (insert-file-contents \"$1\"))"
     else
-      $VI -c "/^[0-9]*\.[0-9]*\.[0-9]*/-1;r $1" "$LOGBUCH"
+      $VI -c "1;/^[0-9]*\.[0-9]*\.[0-9]*/-1;r $1" "$LOGBUCH"
     fi
 }
 



More information about the Adminton-commits mailing list