summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-10-15 03:58:50 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-10-15 03:58:50 +0000
commit7fe1c009eb0e897fa0354a70a2eba9dd75a7c1e6 (patch)
treefcba057abed7b59c46bedb63effed5fd63aa9553
parent4e2a974e2c3943ab52f4dea526010b405d94b7c2 (diff)
downloadportage-7fe1c009eb0e897fa0354a70a2eba9dd75a7c1e6.tar.gz
portage-7fe1c009eb0e897fa0354a70a2eba9dd75a7c1e6.tar.bz2
portage-7fe1c009eb0e897fa0354a70a2eba9dd75a7c1e6.zip
Added missing quotes to stat_perms area of ebuild.sh (#93293)
svn path=/main/branches/2.0/; revision=2132
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 6cf401493..666a79dd6 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1150,7 +1150,7 @@ dyn_install() {
if [ -L "${file}" ]; then
lchown ${PORTAGE_INST_UID} "${file}"
else
- s=$(stat_perms $file)
+ s=$(stat_perms "$file")
if [ -z "${s}" ]; then
ewarn "failed stat_perm'ing $file. User intervention during install isn't wise..."
continue
@@ -1166,7 +1166,7 @@ dyn_install() {
count=0
find "${D}/" -group portage | while read file; do
count=$(( $count + 1 ))
- if [ -L ${file} ]; then
+ if [ -L "${file}" ]; then
lchgrp ${PORTAGE_INST_GID} "${file}"
else
s=$(stat_perms "$file")