source: orange/install-scripts/linux/compileOrange.sh @ 2010:982dd1bca209

Revision 2010:982dd1bca209, 714 bytes checked in by cvso <cvso@…>, 8 years ago (diff)

bug in -d parameter in cvs for new cvsnt server?

Line 
1## export the latest version
2TAG=stable
3
4gcc -v
5echo
6echo "checking out sources using tag: $TAG"
7if [ "$1" == "clean" ]; then
8    ## force a clean checkout
9    ## compiling this might take some time
10    echo "force complete compile"
11    rm -Rf source
12fi
13echo
14
15rm -Rf orange
16rm -Rf orange/source
17cvs -q -d :pserver:cvso@estelle.fri.uni-lj.si:/CVS checkout -r $TAG -f orange
18mkdir orange
19mkdir orange/source
20cd orange
21cvs -q -d :pserver:cvso@estelle.fri.uni-lj.si:/CVS checkout -r $TAG -f -d source source
22cd ..
23
24START_WD=`pwd`
25cd orange
26rm -f orange.so statc.so corn.so orangene.so orangeom.so
27cd source
28if ! make; then
29    echo -e "\n\nERROR compiling"
30    exit 1
31else
32    echo -e "\n\nOrange compiled successfully"
33fi
34cd $START_WD
Note: See TracBrowser for help on using the repository browser.