updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / gdc1-hg / gdc-stdlib
blob798030f88a0ca0a9a5834f10f4eb55b8ad5e5b79
1 #!/bin/sh
3 GCC_VERSION=4.5.1
4 INSTALL_PATH="/usr"
6 clean() {
7 cd "$INSTALL_PATH/include/d/$GCC_VERSION/"
8 rm -f object.d object.di std
12 case $1 in
13 tango)
14 clean
16 cd "$INSTALL_PATH/include/d/$GCC_VERSION/"
17 ln -s object.di.tango object.di
20 phobos)
21 clean
23 cd "$INSTALL_PATH/include/d/$GCC_VERSION/"
24 ln -s object.d.phobos object.d
25 ln -s std.phobos std
28 status)
29 cd "$INSTALL_PATH/include/d/$GCC_VERSION/"
30 if [ -f object.d ]; then
31 echo Phobos
32 elif [ -f object.di ]; then
33 echo Tango
34 else
35 echo Unknown
37 esac