Mercurial > projects > ldc
comparison druntime/src/build-dmd.sh @ 759:d3eb054172f9
Added copy of druntime from DMD 2.020 modified for LDC.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 11 Nov 2008 01:52:37 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
758:f04dde6e882c | 759:d3eb054172f9 |
---|---|
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 |