[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trans-coord/gnun/server/gnun validate-html-noti...
From: |
Kaloian Doganov |
Subject: |
trans-coord/gnun/server/gnun validate-html-noti... |
Date: |
Wed, 27 Feb 2008 13:24:51 +0000 |
CVSROOT: /sources/trans-coord
Module name: trans-coord
Changes by: Kaloian Doganov <kaloian> 08/02/27 13:24:51
Modified files:
gnun/server/gnun: validate-html-notify mailfail ChangeLog
Log message:
* ChangeLog: fixed a thinko the last entry.
* mailfail: Use single brackets instead of double ones.
* validate-html-notify: Likewise.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/validate-html-notify?cvsroot=trans-coord&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/mailfail?cvsroot=trans-coord&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.11&r2=1.12
Patches:
Index: validate-html-notify
===================================================================
RCS file:
/sources/trans-coord/trans-coord/gnun/server/gnun/validate-html-notify,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- validate-html-notify 27 Feb 2008 10:49:30 -0000 1.1
+++ validate-html-notify 27 Feb 2008 13:24:51 -0000 1.2
@@ -34,7 +34,7 @@
# Read arguments
DRY_RUN=""
-if [[ "$1" == "--dry-run" ]]; then
+if [ "$1" == "--dry-run" ]; then
[ $# -eq 3 ] || usage
DRY_RUN="$1"
RCPT="$2"
Index: mailfail
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/mailfail,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- mailfail 27 Feb 2008 10:49:30 -0000 1.1
+++ mailfail 27 Feb 2008 13:24:51 -0000 1.2
@@ -34,7 +34,7 @@
# Read arguments
DRY_RUN=""
-if [[ "$1" == "--dry-run" ]]; then
+if [ "$1" == "--dry-run" ]; then
[ $# -ge 4 ] || usage
DRY_RUN="yes"
RCPT="$2"
@@ -57,7 +57,7 @@
cat "$TMP"
# Mail the captured output, if needed
-if [[ ( -z "$DRY_RUN" ) && ( "$CMDSTATUS" -ne 0 ) ]]; then
+if [ -z "$DRY_RUN" ] && [ "$CMDSTATUS" -ne 0 ]; then
mail "$RCPT" --subj "$SUBJECT" < "$TMP"
fi
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- ChangeLog 27 Feb 2008 10:49:30 -0000 1.11
+++ ChangeLog 27 Feb 2008 13:24:51 -0000 1.12
@@ -6,9 +6,9 @@
($(rootdir)/po/home.proto, $(1).proto $(1).translinks)
($(rootdir)/home.$(1).shtml, $(subst /po/,/,$(1).html)): Mail
output on validation error.
- * validate-html-notify: New file: mails output of a failed
- command.
- * mailfail: New file: runs `validate-html' through `mailfail'.
+ * mailfail: New file: mails output of a failed command.
+ * validate-html-notify: New file: runs `validate-html' through
+ `mailfail'.
2008-02-27 Yavor Doganov <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- trans-coord/gnun/server/gnun validate-html-noti...,
Kaloian Doganov <=