[Pkg-sysvinit-commits] r350 -
sysvinit/trunk/debian/initscripts/etc/init.d
Thomas Hood
jdthood-guest at costa.debian.org
Thu Dec 1 17:01:28 UTC 2005
Author: jdthood-guest
Date: 2005-12-01 17:01:27 +0000 (Thu, 01 Dec 2005)
New Revision: 350
Modified:
sysvinit/trunk/debian/initscripts/etc/init.d/bootclean.sh
Log:
Use $(...) instead of old-fashioned `...` for the sake of consistency
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/bootclean.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/bootclean.sh 2005-12-01 16:56:21 UTC (rev 349)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/bootclean.sh 2005-12-01 17:01:27 UTC (rev 350)
@@ -115,10 +115,10 @@
do
if [ -f $cleandir/.clean ]
then
- which stat >/dev/null && cleanuid=`stat -c %u $cleandir/.clean`
+ which stat >/dev/null && cleanuid="$(stat -c %u $cleandir/.clean)"
# Poor's man stat %u, since stat (and /usr) might not be
# available in some bootup stages
- [ -z "$cleanuid" ] && cleanuid=`find $cleandir/.clean -printf %U`
+ [ -z "$cleanuid" ] && cleanuid="$(find $cleandir/.clean -printf %U)"
[ "$cleanuid" -ne 0 ] && rm -f $cleandir/.clean
fi
done
More information about the Pkg-sysvinit-commits
mailing list