1 |
commit: 17c5594fe0fe33d2226ebcb087763e4592b67c71 |
2 |
Author: Steve Arnold <nerdboy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 14 23:45:10 2017 +0000 |
4 |
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 14 23:45:10 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=17c5594f |
7 |
|
8 |
sys-devel/crossdev: fix silly typo in link target |
9 |
|
10 |
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org> |
11 |
|
12 |
crossdev | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/crossdev b/crossdev |
16 |
index 3f60517..1a0bded 100755 |
17 |
--- a/crossdev |
18 |
+++ b/crossdev |
19 |
@@ -452,7 +452,7 @@ uninstall() { |
20 |
# clean out files from crossdev itself |
21 |
[[ -e ${EPREFIX}/var/db/pkg/cross-${CTARGET} ]] && rmdir "${EPREFIX}"/var/db/pkg/cross-${CTARGET} |
22 |
rm -f "${EPREFIX}"/usr/bin/${CTARGET}-{emerge,fix-root,pkg-config} "${EPREFIX}"/usr/bin/emerge-${CTARGET} |
23 |
- [[ -e ${EPREFIX}/usr/${CTARGET}/lib/ldscripts ]] && rm "${EPREFIX}"/usr/${CTARGET}/lib/ldscripts |
24 |
+ [[ -h ${EPREFIX}/usr/${CTARGET}/lib/ldscripts ]] && rm "${EPREFIX}"/usr/${CTARGET}/lib/ldscripts |
25 |
|
26 |
for f in make.{conf,globals,profile} ; do |
27 |
f="${EPREFIX}/usr/${CTARGET}/etc/${f}" |
28 |
@@ -1292,7 +1292,7 @@ if ! ex_fast ; then |
29 |
if [[ ${MAKE_SYMLINK} == "yes" ]] ; then |
30 |
case ${CTARGET} in |
31 |
avr*) ( ! [[ -h ${EPREFIX}/usr/${CTARGET}/lib/ldscripts ]] && [[ -d ${EPREFIX}/usr/${CTARGET}/lib ]] ) && \ |
32 |
- ln -s ${EPREFIX}/usr/$CHOST/${CTARGET}/lib/ldscripts ${EPREFIX}/usr/${CTARGET}/lib/ |
33 |
+ ln -s ${EPREFIX}/usr/${CHOST}/${CTARGET}/lib/ldscripts ${EPREFIX}/usr/${CTARGET}/lib/ |
34 |
;; |
35 |
*) ;; |
36 |
esac |