]> git.llucax.com Git - software/druntime.git/blob - src/build-dmd.sh
Merged in changes from Phobos SVN.
[software/druntime.git] / src / build-dmd.sh
1 #!/usr/bin/env bash
2
3 OLDHOME=$HOME
4 export HOME=`pwd`
5
6 goerror(){
7     export HOME=$OLDHOME
8     echo "="
9     echo "= *** Error ***"
10     echo "="
11     exit 1
12 }
13
14 make clean -fdmd-posix.mak           || goerror
15 make lib doc install -fdmd-posix.mak || goerror
16 make clean -fdmd-posix.mak           || goerror
17 chmod 644 ../import/*.di             || goerror
18
19 export HOME=$OLDHOME