From d68ec90157a963f3483c09915b1844ee43b4ac77 Mon Sep 17 00:00:00 2001 From: Simon Stelling Date: Sat, 15 Apr 2006 18:42:28 +0000 Subject: `` must die svn path=/main/trunk/; revision=3155 --- bin/misc-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/misc-functions.sh') diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 90306d565..67d6bdcc4 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -298,7 +298,7 @@ preinst_suid_scan() { echo ">>> Preforming suid scan in ${IMAGE}" for i in $(find ${IMAGE}/ -type f \( -perm -4000 -o -perm -2000 \) ); do if [ -s "${sfconf}" ]; then - suid="`grep ^${i/${IMAGE}/}$ ${sfconf}`" + suid="$(grep ^${i/${IMAGE}/}$ ${sfconf})" if [ "${suid}" = "${i/${IMAGE}/}" ]; then echo "- ${i/${IMAGE}/} is an approved suid file" else @@ -312,7 +312,7 @@ preinst_suid_scan() { # can easly be bypassed using the addwrite() function addwrite "${sfconf}" echo ">>> Appending commented out entry to ${sfconf} for ${PF}" - ls_ret=`ls -ldh "${i}"` + ls_ret=$(ls -ldh "${i}") echo "## ${ls_ret%${IMAGE}*}${ls_ret#*${IMAGE}}" >> ${sfconf} echo "#${i/${IMAGE}/}" >> ${sfconf} # no delwrite() eh? -- cgit v1.2.3-1-g7c22