aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-04-07 12:21:04 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-04-07 12:21:04 +0100
commitc684ab8846a927d79a9cd0bf4c2c0e94cea34595 (patch)
treeb05e17f3d2df7696eb6674dd74d746f361e12db0
parentcrossdev: revert ldscripts hack (diff)
downloadcrossdev-c684ab8846a927d79a9cd0bf4c2c0e94cea34595.tar.gz
crossdev-c684ab8846a927d79a9cd0bf4c2c0e94cea34595.tar.bz2
crossdev-c684ab8846a927d79a9cd0bf4c2c0e94cea34595.zip
crossdev: don't try to delete files from /usr/${CTARGET}/bin/
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rwxr-xr-xcrossdev2
1 files changed, 1 insertions, 1 deletions
diff --git a/crossdev b/crossdev
index 0f64235..ae26995 100755
--- a/crossdev
+++ b/crossdev
@@ -538,7 +538,7 @@ uninstall() {
gcc-{ar,nm,ranlib} gccbug gcov-{dump,tool} gprof ld nm \
objcopy objdump ranlib readelf size strings strip windmc windres
do
- rm -f "${EPREFIX}"/usr/bin/${CTARGET}-${f} "${EPREFIX}"/usr/${CTARGET}/bin/${f}
+ rm -f "${EPREFIX}"/usr/bin/${CTARGET}-${f}
done
rm -f "${EPREFIX}"/usr/${CTARGET}/{sys-include,usr}
rmdir "${EPREFIX}"/usr/${CTARGET}/{include/asm,include} 2>/dev/null