[Dehs-devel] r143 - trunk

atomo64-guest at alioth.debian.org atomo64-guest at alioth.debian.org
Sun Jun 15 21:47:18 UTC 2008


Author: atomo64-guest
Date: 2008-06-15 21:47:17 +0000 (Sun, 15 Jun 2008)
New Revision: 143

Modified:
   trunk/dehs.sh
Log:
Add a 'www' call so only the web pages are updated.
Call diff with -uwB


Modified: trunk/dehs.sh
===================================================================
--- trunk/dehs.sh	2008-06-11 23:02:09 UTC (rev 142)
+++ trunk/dehs.sh	2008-06-15 21:47:17 UTC (rev 143)
@@ -62,6 +62,9 @@
                 run_type="-dehsqa_db"
                 update_www=0
         ;;
+	www)
+		run_type=
+	;;
         *)
                 echo "Unknown run-type: $1" >&2
                 exit 1
@@ -73,7 +76,7 @@
 for script in uscan.pl debcheckout.pl; do
     if svn export svn://svn/devscripts/trunk/scripts/$script 1>/dev/null; then
 	   sed -i "s/###VERSION###/DEHS-SVN/g" $script
-	   if ! diff $WORKDIR/$script ./$script; then
+	   if ! diff -uwB $WORKDIR/$script ./$script; then
 		  echo "New $script available" >&2
 	   fi
 	   rm -f $script




More information about the Dehs-devel mailing list