aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/0/builtin_killoldrm.bash
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-03-30 21:24:45 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-03-30 21:24:45 +0000
commit96bb6d453405ed3a7bd03201192861a0ae272573 (patch)
treef918380a1324ea2db83f46cdbf4aab64936714d1 /paludis/repositories/e/ebuild/0/builtin_killoldrm.bash
parent18d668cc92656764cdac4eaafd643b068897eca1 (diff)
downloadpaludis-96bb6d453405ed3a7bd03201192861a0ae272573.tar.gz
paludis-96bb6d453405ed3a7bd03201192861a0ae272573.tar.xz
Use ${builddir}/${CATEGORY}-${PF} instead of ${builddir}/${CATEGORY}/${PF}, to avoid userpriv subtleties.
Diffstat (limited to 'paludis/repositories/e/ebuild/0/builtin_killoldrm.bash')
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_killoldrm.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/repositories/e/ebuild/0/builtin_killoldrm.bash b/paludis/repositories/e/ebuild/0/builtin_killoldrm.bash
index 555ac943d..473162816 100644
--- a/paludis/repositories/e/ebuild/0/builtin_killoldrm.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_killoldrm.bash
@@ -23,11 +23,11 @@ builtin_killoldrm()
[[ -z "${!a}" ]] && die "\$${a} unset or empty"
done
- if [[ -e "${PALUDIS_TMPDIR}/${CATEGORY}/${PF}-uninstall" ]] ; then
+ if [[ -e "${PALUDIS_TMPDIR}/${CATEGORY}-${PF}-uninstall" ]] ; then
if type -p chflags &>/dev/null; then
- chflags -R 0 "${PALUDIS_TMPDIR}/${CATEGORY}/${PF}-uninstall" || die "Couldn't remove flags from workdir"
+ chflags -R 0 "${PALUDIS_TMPDIR}/${CATEGORY}-${PF}-uninstall" || die "Couldn't remove flags from workdir"
fi
- rm -fr "${PALUDIS_TMPDIR}/${CATEGORY}/${PF}-uninstall" || die "Couldn't remove previous work"
+ rm -fr "${PALUDIS_TMPDIR}/${CATEGORY}-${PF}-uninstall" || die "Couldn't remove previous work"
fi
}