diff options
author | Simon Stelling <blubb@gentoo.org> | 2006-04-15 18:42:28 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2006-04-15 18:42:28 +0000 |
commit | d68ec90157a963f3483c09915b1844ee43b4ac77 (patch) | |
tree | 6553f68fc4267b99784f10fb2fe03a3454505eef /bin/misc-functions.sh | |
parent | 1b7e9bacc284926b12a4d64a288d373de8b1708f (diff) | |
download | portage-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.gz portage-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.bz2 portage-d68ec90157a963f3483c09915b1844ee43b4ac77.zip |
`` must die
svn path=/main/trunk/; revision=3155
Diffstat (limited to 'bin/misc-functions.sh')
-rw-r--r-- | bin/misc-functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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? |