[Dehs-devel] r158 - trunk

atomo64-guest at alioth.debian.org atomo64-guest at alioth.debian.org
Mon Sep 1 02:35:13 UTC 2008


Author: atomo64-guest
Date: 2008-09-01 02:35:12 +0000 (Mon, 01 Sep 2008)
New Revision: 158

Modified:
   trunk/dehs.sh
Log:
Improve the warning when local and remote copies of svn files differ, and use TZ= when exporting
so svn doesn't mess the files


Modified: trunk/dehs.sh
===================================================================
--- trunk/dehs.sh	2008-07-26 20:26:41 UTC (rev 157)
+++ trunk/dehs.sh	2008-09-01 02:35:12 UTC (rev 158)
@@ -74,10 +74,10 @@
 
 tmpdir="$(mktemp -d)"
 for script in uscan.pl debcheckout.pl; do
-    if svn export svn://svn/devscripts/trunk/scripts/$script "$tmpdir/$script">/dev/null; then
+    if TZ= svn export svn://svn/devscripts/trunk/scripts/$script "$tmpdir/$script">/dev/null; then
 	   sed -i "s/###VERSION###/DEHS-SVN/g" "$tmpdir/$script"
 	   if ! diff -uwB "$tmpdir/$script" "$WORKDIR/$script"; then
-		  echo "New $script available" >&2
+		  echo "Local and remote $script differ" >&2
 	   fi
 	   rm -f "$tmpdir/$script"
     fi




More information about the Dehs-devel mailing list