[Pkg-samba-maint] r3373 - in trunk/ctdb/debian: . patches
sathieu at alioth.debian.org
sathieu at alioth.debian.org
Thu Mar 4 15:18:55 UTC 2010
Author: sathieu
Date: 2010-03-04 15:18:49 +0000 (Thu, 04 Mar 2010)
New Revision: 3373
Added:
trunk/ctdb/debian/patches/50-fix-bashism.diff
Modified:
trunk/ctdb/debian/changelog
trunk/ctdb/debian/patches/series
Log:
50-fix-bashism.diff is back (Fix some more bashisms)
Modified: trunk/ctdb/debian/changelog
===================================================================
--- trunk/ctdb/debian/changelog 2010-03-04 14:38:31 UTC (rev 3372)
+++ trunk/ctdb/debian/changelog 2010-03-04 15:18:49 UTC (rev 3373)
@@ -9,6 +9,7 @@
* Include testsuite in ctdb-dbg (Closes: #569206)
* Move logfile to /var/log/ctdb. Fix "Log file should be renamed"
(Closes: #569205)
+ * 50-fix-bashism.diff is back (Fix some more bashisms)
-- Mathieu Parent <sathieu at debian.org> Wed, 03 Mar 2010 12:32:39 +0100
Added: trunk/ctdb/debian/patches/50-fix-bashism.diff
===================================================================
--- trunk/ctdb/debian/patches/50-fix-bashism.diff (rev 0)
+++ trunk/ctdb/debian/patches/50-fix-bashism.diff 2010-03-04 15:18:49 UTC (rev 3373)
@@ -0,0 +1,20 @@
+Goal: Fix some more bashisms
+
+Author: Mathieu Parent <math.parent at gmail.com>
+
+Upstream status: https://bugzilla.samba.org/show_bug.cgi?id=6407
+
+diff --git a/config/events.d/11.natgw b/config/events.d/11.natgw
+--- a/config/events.d/11.natgw
++++ b/config/events.d/11.natgw
+@@ -41,7 +41,7 @@ case "$1" in
+ NATGWIP=`ctdb natgwlist | head -1 | sed -e "s/^[^ ]* *//"`
+
+ CTDB_NATGW_PUBLIC_IP_HOST=`echo $CTDB_NATGW_PUBLIC_IP | sed -e "s/\/.*/\/32/"`
+- if [ "$NATGWMASTER" == "-1" ]; then
++ if [ "$NATGWMASTER" = "-1" ]; then
+ echo "There is not NATGW master node"
+ exit 1
+ fi
+
+
Modified: trunk/ctdb/debian/patches/series
===================================================================
--- trunk/ctdb/debian/patches/series 2010-03-04 14:38:31 UTC (rev 3372)
+++ trunk/ctdb/debian/patches/series 2010-03-04 15:18:49 UTC (rev 3373)
@@ -1,5 +1,6 @@
02_ctdb_diagnostics.diff
05-hurd.diff
10_no-lib64.diff
+50-fix-bashism.diff
60-spelling-errors.diff
61-spelling-errors-manpages.diff
More information about the Pkg-samba-maint
mailing list