misc-functions.sh: PORTAGE_CONFIGROOT contains EPREFIX by default
authorFabian Groffen <grobian@gentoo.org>
Fri, 23 Sep 2011 18:32:13 +0000 (20:32 +0200)
committerFabian Groffen <grobian@gentoo.org>
Fri, 23 Sep 2011 18:32:13 +0000 (20:32 +0200)
bin/misc-functions.sh

index cf72deef9b09a1009c83fd9dae8339ed12211891..148d038c54e7d39c0309d5a0f0aba80efbc7229b 100644 (file)
@@ -1558,7 +1558,7 @@ preinst_suid_scan() {
        # total suid control.
        if has suidctl $FEATURES; then
                local i sfconf x
-               sfconf=${PORTAGE_CONFIGROOT}${EPREFIX#/}/etc/portage/suidctl.conf
+               sfconf=${PORTAGE_CONFIGROOT}etc/portage/suidctl.conf
                # sandbox prevents us from writing directly
                # to files outside of the sandbox, but this
                # can easly be bypassed using the addwrite() function