Added missing quotes to stat_perms area of ebuild.sh (#93293)
authorJason Stubbs <jstubbs@gentoo.org>
Sat, 15 Oct 2005 03:58:50 +0000 (03:58 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Sat, 15 Oct 2005 03:58:50 +0000 (03:58 -0000)
svn path=/main/branches/2.0/; revision=2132

bin/ebuild.sh

index 6cf4014937886aba5fb2533e320fedfe9b24f88f..666a79dd6d420208a9daeb880747f45bac223631 100755 (executable)
@@ -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")