aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-06 19:09:08 -0500
committerMike Frysinger <vapier@gentoo.org>2008-11-06 19:10:46 -0500
commitf5cb9dcaed9c1071cbee6a1ef500717d07325ae8 (patch)
treebacd5b5a3c6730dc1ad7e42a54b0471858ad5ded /wrappers/cross-fix-root
parentcross-fix-root: exit 0 when lib dir does not exist (diff)
downloadcrossdev-f5cb9dcaed9c1071cbee6a1ef500717d07325ae8.tar.gz
crossdev-f5cb9dcaed9c1071cbee6a1ef500717d07325ae8.tar.bz2
crossdev-f5cb9dcaed9c1071cbee6a1ef500717d07325ae8.zip
cross-fix-root: fix *-config symlinks
Make sure we install with the full ${prefix}${config} name rather than an incorrect ${prefix}. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'wrappers/cross-fix-root')
-rwxr-xr-xwrappers/cross-fix-root4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/cross-fix-root b/wrappers/cross-fix-root
index 472e51e..c4fb422 100755
--- a/wrappers/cross-fix-root
+++ b/wrappers/cross-fix-root
@@ -50,8 +50,8 @@ if [ -d usr/bin ] ; then
if [ -n "${CROSS_BINDIR}" ] && [ -d "${CROSS_BINDIR}" ] && [ -n "${CROSS_PREFIX}" ] ; then
cd usr/bin || exit 1
for config in *-config ; do
- ln -s "${SYSROOT}/usr/bin/${config}" "${CROSS_BINDIR}/${CROSS_PREFIX}.$$"
- mv "${CROSS_BINDIR}/${CROSS_PREFIX}.$$" "${CROSS_BINDIR}/${CROSS_PREFIX}"
+ ln -s "${SYSROOT}/usr/bin/${config}" "${CROSS_BINDIR}/${CROSS_PREFIX}${config}.$$"
+ mv "${CROSS_BINDIR}/${CROSS_PREFIX}${config}.$$" "${CROSS_BINDIR}/${CROSS_PREFIX}${config}"
done
cd ../..
fi