Permalink
Browse files

Fixed a bug with the path

  • Loading branch information...
msmith-techempower committed May 27, 2015
1 parent aa68f9b commit 5dc91a0badd24b8ba851c27c0c070e734fefb07b
Showing with 3 additions and 3 deletions.
  1. +3 −3 toolset/setup/linux/languages/dlang.sh
@@ -18,9 +18,9 @@ dpkg-deb -x dmd_2.067.1-0_amd64.deb $DLANG
# we need to change the DFLAGS in the dmd.conf to be correctly sandboxed
# to the $DLANG folder (in IROOT).
cp $DLANG/etc/dmd.conf $DLANG/usr/bin
sed -i "s|-I/usr/|-I${DLANG}/usr/|g" $DLANG/user/bin/dmd.conf
sed -i "s|-L/usr/|-L${DLANG}/usr/|g" $DLANG/user/bin/dmd.conf
sed -i "s|-I/usr/|-I${DLANG}/usr/|g" $DLANG/usr/bin/dmd.conf
sed -i "s|-L/usr/|-L${DLANG}/usr/|g" $DLANG/usr/bin/dmd.conf
echo -e "export PATH=${DLANG}:\$PATH" > $DLANG.installed
echo -e "export PATH=${DLANG}/usr/bin:\$PATH" > $DLANG.installed
source $DLANG.installed

0 comments on commit 5dc91a0

Please sign in to comment.