Mercurial > projects > ldc
comparison druntime/src/build-ldc.sh @ 1458:e0b2d67cfe7c
Added druntime (this should be removed once it works).
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Tue, 02 Jun 2009 17:43:06 +0100 |
parents | |
children | da3262e901b4 |
comparison
equal
deleted
inserted
replaced
1456:7b218ec1044f | 1458:e0b2d67cfe7c |
---|---|
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 -fldc-posix.mak || goerror | |
15 make -fldc-posix.mak || goerror | |
16 chmod 644 ../import/core/*.di || goerror | |
17 chmod 644 ../import/core/sync/*.di || goerror | |
18 | |
19 export HOME=$OLDHOME |