From: Robert Kaiser Date: Sun, 3 May 2009 18:16:44 +0000 (+0200) Subject: use generic timezone and better fixup logs for HTML in origdiff X-Git-Tag: LCARStrek-2.0b1~11 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=362ae058e533f214c8de9d94efd92f8f18b90496;p=themes.git use generic timezone and better fixup logs for HTML in origdiff --- diff --git a/origdiff b/origdiff index 711e071c..bb2eb650 100755 --- a/origdiff +++ b/origdiff @@ -6,7 +6,7 @@ SCRIPT_DIR=$(pwd) if [ -n "$1" ]; then SRC_DATE="$1" - DST_DATE=`TZ=PST8PDT date +%Y-%m-%d` + DST_DATE=`TZ=America/Los_Angeles date +%Y-%m-%d` HG_COMM_DIR=/mnt/mozilla/hg/comm-central COMM_DIR=suite/themes/classic/ @@ -58,7 +58,7 @@ for repo in "COMM" "MOZ" "DOMI"; do echo "

$REPO_NAME Theme Changes

" >> $HTML_NAME echo "

$SRC_DATE to $DST_DATE

" >> $HTML_NAME echo "
" >> $HTML_NAME
-  sed -e "s/user:\(.*\)<\(.*\)>/user:\1\<\2\>/" \
+  sed -e "s/&/\&/g" -e "s//\>/g" \
       -e "s|\(changeset: *[0-9]*\):\([0-9a-f]*\)|\1:\2|" \
       $LOG_NAME >> $HTML_NAME
   echo "    
" >> $HTML_NAME