]> git.llucax.com Git - software/druntime.git/blob - src/build-dmd.sh
Changed Thread.sleep() to accept a long with a tick resolution of 100 nanoseconds...
[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