|
Revision 734, 387 bytes
(checked in by ChristianK, 1 year ago)
|
dsss-dmd: updated to 1.020, working on issues with windows installation
|
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
#!/bin/bash |
|---|
| 2 |
|
|---|
| 3 |
# Ensure our uname is right |
|---|
| 4 |
if [ "`uname`" != "Linux" ] |
|---|
| 5 |
then |
|---|
| 6 |
echo 'DMD can only be used on Windows and Linux' |
|---|
| 7 |
exit 1 |
|---|
| 8 |
fi |
|---|
| 9 |
|
|---|
| 10 |
# Sanity |
|---|
| 11 |
if [ ! "$BIN_PREFIX" -o \ |
|---|
| 12 |
! "$INCLUDE_PREFIX" -o \ |
|---|
| 13 |
! "$LIB_PREFIX" ] |
|---|
| 14 |
then |
|---|
| 15 |
echo 'This can only be run through DSSS' |
|---|
| 16 |
exit 1 |
|---|
| 17 |
fi |
|---|
| 18 |
|
|---|
| 19 |
# download |
|---|
| 20 |
#curl http://ftp.digitalmars.com/$1 -o dmd.zip || exit 1 |
|---|
| 21 |
unzip dmd.zip || exit 1 |
|---|