summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2015-04-07 15:53:25 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2015-04-07 16:37:06 +0200
commita4dee96ee68c7d28b0c9e1c531d435dfd52c43ba (patch)
treeb237832e7e538f80decab91fbc6129bd00e964e9
parent513b268196472f25ecb261c509cbe640eebc2e8b (diff)
downloadtexlive-a4dee96ee68c7d28b0c9e1c531d435dfd52c43ba.tar.gz
texlive-a4dee96ee68c7d28b0c9e1c531d435dfd52c43ba.tar.xz
texlive-common-exlibe: Fix a few more paths
-rw-r--r--exlibs/texlive-common.exlib4
1 files changed, 2 insertions, 2 deletions
diff --git a/exlibs/texlive-common.exlib b/exlibs/texlive-common.exlib
index 29547e0..61f3a4d 100644
--- a/exlibs/texlive-common.exlib
+++ b/exlibs/texlive-common.exlib
@@ -121,12 +121,12 @@ etexlinks() {
# Symlinks a script from the texmf tree to /usr/bin. Requires permissions to be
# correctly set for the file that it will point to.
dobin_texmf_scripts() {
- dodir /usr/bin
+ dodir /usr/$(exhost --target)/bin
for x in "$@"; do
local trg=$(basename ${x} | sed 's,\.[^/]*$,,')
trg=${trg,,}
echo "Installing ${x} as ${trg} bin wrapper"
- [[ -x ${IMAGE}/usr/share/${x} ]] || die "Trying to install a non existing or non executable symlink to /usr/bin: ${x}"
+ [[ -x ${IMAGE}/usr/share/${x} ]] || die "Trying to install a non existing or non executable symlink to /usr/$(exhost --target)/bin: ${x}"
dosym ../share/${x} /usr/$(exhost --target)/bin/${trg}
shift
done