Source

orange / install-scripts / linux / compileOrange.sh

## export the latest version
TAG=stable

gcc -v
echo
echo "checking out sources using tag: $TAG"
if [ "$1" == "clean" ]; then
	## force a clean checkout
	## compiling this might take some time
	echo "force complete compile"
	rm -Rf source 
fi
echo

rm -Rf orange
rm -Rf orange/source
cvs -q -d :pserver:cvso@estelle.fri.uni-lj.si:/CVS checkout -r $TAG -f orange
mkdir orange
mkdir orange/source
cd orange
cvs -q -d :pserver:cvso@estelle.fri.uni-lj.si:/CVS checkout -r $TAG -f -d source source
cd ..

START_WD=`pwd`
cd orange
rm -f orange.so statc.so corn.so orangene.so orangeom.so
cd source 
if ! make; then 
	echo -e "\n\nERROR compiling"
	exit 1
else
	echo -e "\n\nOrange compiled successfully"
fi
cd $START_WD
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.