[Pkg-sysvinit-commits] r352 - in sysvinit/trunk/debian: . initscripts

Thomas Hood jdthood-guest at costa.debian.org
Thu Dec 1 17:16:18 UTC 2005


Author: jdthood-guest
Date: 2005-12-01 17:16:17 +0000 (Thu, 01 Dec 2005)
New Revision: 352

Modified:
   sysvinit/trunk/debian/deps-glibc
   sysvinit/trunk/debian/deps-mount
   sysvinit/trunk/debian/initscripts/postinst
   sysvinit/trunk/debian/postinst
   sysvinit/trunk/debian/rules
Log:
Use $(...) instead of old-fashioned `...` for the sake of consistency

Modified: sysvinit/trunk/debian/deps-glibc
===================================================================
--- sysvinit/trunk/debian/deps-glibc	2005-12-01 17:04:35 UTC (rev 351)
+++ sysvinit/trunk/debian/deps-glibc	2005-12-01 17:16:17 UTC (rev 352)
@@ -2,9 +2,9 @@
 # deps-glibc	Figure out on which glibc version we need to depend.
 #
 
-DEB_BUILD_GNU_TYPE=`dpkg-architecture -qDEB_BUILD_GNU_TYPE`
-DEB_BUILD_GNU_SYSTEM=`dpkg-architecture -qDEB_BUILD_GNU_SYSTEM`
-DEB_BUILD_GNU_CPU=`dpkg-architecture -qDEB_BUILD_GNU_CPU`
+DEB_BUILD_GNU_TYPE="$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)"
+DEB_BUILD_GNU_SYSTEM="$(dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)"
+DEB_BUILD_GNU_CPU="$(dpkg-architecture -qDEB_BUILD_GNU_CPU)"
 
 case "$DEB_BUILD_GNU_SYSTEM" in
   linux)

Modified: sysvinit/trunk/debian/deps-mount
===================================================================
--- sysvinit/trunk/debian/deps-mount	2005-12-01 17:04:35 UTC (rev 351)
+++ sysvinit/trunk/debian/deps-mount	2005-12-01 17:16:17 UTC (rev 352)
@@ -5,7 +5,7 @@
 # the "mount" command we need.
 #
 
-DEB_BUILD_GNU_TYPE=`dpkg-architecture -qDEB_BUILD_GNU_TYPE`
+DEB_BUILD_GNU_TYPE="$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)"
 
 case "$DEB_BUILD_GNU_TYPE" in
   *-linux)

Modified: sysvinit/trunk/debian/initscripts/postinst
===================================================================
--- sysvinit/trunk/debian/initscripts/postinst	2005-12-01 17:04:35 UTC (rev 351)
+++ sysvinit/trunk/debian/initscripts/postinst	2005-12-01 17:16:17 UTC (rev 352)
@@ -38,7 +38,7 @@
 	base=$1
 	shift
 
-	tmp="`echo /etc/rc?.d/[SK]??$base`"
+	tmp="$(echo /etc/rc?.d/[SK]??$base)"
 	case "$tmp" in
 		"/etc/rc?.d/[SK]??$base") : ;;
 		*) return ;;
@@ -171,7 +171,7 @@
 done
 
 # Create /dev/pts, /dev/shm, /sys
-if [ `uname -s` = Linux ]
+if [ "$(uname -s)" = Linux ]
 then
 	#
 	# Only create /dev/{pts,shm} if /dev is on the

Modified: sysvinit/trunk/debian/postinst
===================================================================
--- sysvinit/trunk/debian/postinst	2005-12-01 17:04:35 UTC (rev 351)
+++ sysvinit/trunk/debian/postinst	2005-12-01 17:16:17 UTC (rev 352)
@@ -16,7 +16,7 @@
 
 umask 022
 
-case `uname -s` in
+case "$(uname -s)" in
   *FreeBSD)
 	INITCTL=/etc/.initctl
 	;;

Modified: sysvinit/trunk/debian/rules
===================================================================
--- sysvinit/trunk/debian/rules	2005-12-01 17:04:35 UTC (rev 351)
+++ sysvinit/trunk/debian/rules	2005-12-01 17:16:17 UTC (rev 352)
@@ -218,7 +218,7 @@
 
 checkroot:
 	$(checkdir)
-	test root = "`whoami`"
+	test root = "$(whoami)"
 
 .PHONY: binary binary-arch binary-indep clean checkroot
 




More information about the Pkg-sysvinit-commits mailing list