summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-24 18:39:20 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-24 18:39:20 +0000
commit82e519a3a0de9dfbdac2809f70c10453df798971 (patch)
treef953df67d3bb57b14299ddcf2358f37a3f288dfe /dev-python
parentKeyworded on alpha, bug #290112 (diff)
downloadgentoo-2-82e519a3a0de9dfbdac2809f70c10453df798971.tar.gz
gentoo-2-82e519a3a0de9dfbdac2809f70c10453df798971.tar.bz2
gentoo-2-82e519a3a0de9dfbdac2809f70c10453df798971.zip
Use `rm -f`.
(Portage version: 14724-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/astng/astng-0.19.1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-python/astng/astng-0.19.1.ebuild b/dev-python/astng/astng-0.19.1.ebuild
index f2f0683757ae..3ee918693d31 100644
--- a/dev-python/astng/astng-0.19.1.ebuild
+++ b/dev-python/astng/astng-0.19.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.19.1.ebuild,v 1.4 2009/10/15 08:40:11 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.19.1.ebuild,v 1.5 2009/10/24 18:39:20 arfrever Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -51,15 +51,15 @@ src_install() {
deletion_of_unneeded_files() {
[[ -z ${ED} ]] && local ED=${D}
- local sdir="${ED}/$(python_get_sitedir)/logilab"
+ local sdir="${ED}$(python_get_sitedir)/logilab"
# we need to remove this file because it collides with the one
# from logilab-common (which we depend on).
# Bug 111970 and bug 223025
- rm "${sdir}/__init__.py" || die
+ rm -f "${sdir}/__init__.py" || die
# Remove unittests since they're just needed during build-time
- rm -rf "${sdir}/astng/test" || die
+ rm -fr "${sdir}/astng/test" || die
}
python_execute_function --action-message 'Deletion of unneeded files with Python ${PYTHON_ABI}' deletion_of_unneeded_files
}