[Pkg-samba-maint] r2349 - branches/samba/experimental/debian

bubulle at alioth.debian.org bubulle at alioth.debian.org
Sat Jan 24 13:19:23 UTC 2009


Author: bubulle
Date: 2009-01-24 13:19:22 +0000 (Sat, 24 Jan 2009)
New Revision: 2349

Modified:
   branches/samba/experimental/debian/changelog
   branches/samba/experimental/debian/samba-common.config
   branches/samba/experimental/debian/samba-common.dhcp
   branches/samba/experimental/debian/samba.config
Log:
Fix bashisms in maintainer scripts


Modified: branches/samba/experimental/debian/changelog
===================================================================
--- branches/samba/experimental/debian/changelog	2009-01-24 13:16:20 UTC (rev 2348)
+++ branches/samba/experimental/debian/changelog	2009-01-24 13:19:22 UTC (rev 2349)
@@ -13,6 +13,8 @@
     that didn't have it already as we're using debhelper in the source
     package
   * [Lintian] Don't ignore errors in swat.postrm
+  * [Lintian] Fix "local foo=bar" bashisms in samba-common.dhcp, samba.config
+    and samba-common.config
   * smb.conf.5-undefined-configure.patch: fix syntax error in smb.conf(5)
     Closes: #512843
 

Modified: branches/samba/experimental/debian/samba-common.config
===================================================================
--- branches/samba/experimental/debian/samba-common.config	2009-01-24 13:16:20 UTC (rev 2348)
+++ branches/samba/experimental/debian/samba-common.config	2009-01-24 13:19:22 UTC (rev 2349)
@@ -10,7 +10,8 @@
 	fi
 
 	if [ -n "$2" ]; then
-		local FILE="$2"
+		local FILE
+		FILE="$2"
 	fi
 
 	if [ -z "$FILE" ]; then

Modified: branches/samba/experimental/debian/samba-common.dhcp
===================================================================
--- branches/samba/experimental/debian/samba-common.dhcp	2009-01-24 13:16:20 UTC (rev 2348)
+++ branches/samba/experimental/debian/samba-common.dhcp	2009-01-24 13:19:22 UTC (rev 2349)
@@ -15,8 +15,10 @@
 
 	umask 022
 
-	local other_servers=""
-	local serverlist=""
+	local other_servers
+	other_servers==""
+	local serverlist
+	serverlist==""
 
 	# the destination file won't exist yet on the first run after 
 	# installing samba

Modified: branches/samba/experimental/debian/samba.config
===================================================================
--- branches/samba/experimental/debian/samba.config	2009-01-24 13:16:20 UTC (rev 2348)
+++ branches/samba/experimental/debian/samba.config	2009-01-24 13:19:22 UTC (rev 2349)
@@ -14,7 +14,8 @@
 	fi
 
 	if [ -n "$2" ]; then
-		local FILE="$2"
+		local FILE
+		FILE="$2"
 	fi
 
 	if [ -z "$FILE" ]; then




More information about the Pkg-samba-maint mailing list