summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-04-15 18:42:28 +0000
committerSimon Stelling <blubb@gentoo.org>2006-04-15 18:42:28 +0000
commitd68ec90157a963f3483c09915b1844ee43b4ac77 (patch)
tree6553f68fc4267b99784f10fb2fe03a3454505eef /bin/misc-functions.sh
parentsome more hasq fixes (diff)
downloadportage-multirepo-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.gz
portage-multirepo-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.bz2
portage-multirepo-d68ec90157a963f3483c09915b1844ee43b4ac77.zip
`` must die
svn path=/main/trunk/; revision=3155
Diffstat (limited to 'bin/misc-functions.sh')
-rw-r--r--bin/misc-functions.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 90306d56..67d6bdcc 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?