1 |
commit: c684ab8846a927d79a9cd0bf4c2c0e94cea34595 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 7 11:21:04 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 7 11:21:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=c684ab88 |
7 |
|
8 |
crossdev: don't try to delete files from /usr/${CTARGET}/bin/ |
9 |
|
10 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
11 |
|
12 |
crossdev | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/crossdev b/crossdev |
16 |
index 0f64235..ae26995 100755 |
17 |
--- a/crossdev |
18 |
+++ b/crossdev |
19 |
@@ -538,7 +538,7 @@ uninstall() { |
20 |
gcc-{ar,nm,ranlib} gccbug gcov-{dump,tool} gprof ld nm \ |
21 |
objcopy objdump ranlib readelf size strings strip windmc windres |
22 |
do |
23 |
- rm -f "${EPREFIX}"/usr/bin/${CTARGET}-${f} "${EPREFIX}"/usr/${CTARGET}/bin/${f} |
24 |
+ rm -f "${EPREFIX}"/usr/bin/${CTARGET}-${f} |
25 |
done |
26 |
rm -f "${EPREFIX}"/usr/${CTARGET}/{sys-include,usr} |
27 |
rmdir "${EPREFIX}"/usr/${CTARGET}/{include/asm,include} 2>/dev/null |