From: Robert Kaiser Date: Fri, 30 Jan 2009 21:35:56 +0000 (+0100) Subject: it's logs, not diffd X-Git-Tag: LCARStrek-2.0a3~17 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=860fec43c1c4e568f43e64ec7e5c6e69d8266d01;p=themes.git it's logs, not diffd --- diff --git a/origdiff b/origdiff index a72f09e3..ca45bad1 100755 --- a/origdiff +++ b/origdiff @@ -12,8 +12,8 @@ if [ -n "$1" ]; then DST_DATE=`TZ=PST8PDT date +%Y-%m-%d` COMM_DIR=suite/themes/classic/ MOZ_DIR=toolkit/themes/winstripe/ - COMM_LOG=$RUN_DIR/themelog-suitedefault.$SRC_DATE.$DST_DATE.diff - MOZ_LOG=$RUN_DIR/themelog-tkwinstripe.$SRC_DATE.$DST_DATE.diff + COMM_LOG=$RUN_DIR/themelog-suitedefault.$SRC_DATE.$DST_DATE.log + MOZ_LOG=$RUN_DIR/themelog-tkwinstripe.$SRC_DATE.$DST_DATE.log if [ ! -e $COMM_LOG ]; then echo "Getting $COMM_LOG..." @@ -36,7 +36,7 @@ for repo in "COMM" "MOZ"; do LOG_VAR="${repo}_LOG" HG_URL=`awk -F ' *= *' '/default *=/ { print $2 }' ${!HG_DIR_VAR}/.hg/hgrc` REPO_NAME=`basename $HG_URL` - DIFF_NAME=${!LOG_VAR} + LOG_NAME=${!LOG_VAR} HTML_NAME=${DIFF_NAME/.diff/.html} echo "Writing $HTML_NAME..." echo '' > $HTML_NAME @@ -50,7 +50,7 @@ for repo in "COMM" "MOZ"; do echo "
" >> $HTML_NAME
   sed -e "s/user:\(.*\)<\(.*\)>/user:\1\<\2\>/" \
       -e "s|\(changeset: *[0-9]*\):\([0-9a-f]*\)|\1:\2|" \
-      $DIFF_NAME >> $HTML_NAME
+      $LOG_NAME >> $HTML_NAME
   echo "    
" >> $HTML_NAME echo " " >> $HTML_NAME echo "" >> $HTML_NAME