#!/bin/sh

if [ ! -e talk/third_party/expat-2.0.1 ]; then
	if [ ! -e expat-2.0.1.tar.gz ]; then
		echo "Downloading expact..."
                wget http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download -O expat-2.0.1.tar.gz
	fi
	echo -n "Extracting expact 2.0.1..."
	tar zxpf expat-2.0.1.tar.gz -C talk/third_party
	echo "done"
fi

if [ ! -e talk/third_party/srtp ]; then
	echo -n "Getting latest srtp..."
	cd talk/third_party
	cvs -d:pserver:anonymous@srtp.cvs.sourceforge.net:/cvsroot/srtp co -P srtp
	echo "done"
	cd ../../
fi

#!/bin/sh

if [ ! -e talk/third_party/expat-2.0.1 ]; then
	if [ ! -e expat-2.0.1.tar.gz ]; then
		echo "Downloading expact..."
		wget http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download
	fi
	echo -n "Extracting expact 2.0.1..."
	tar zxpf expat-2.0.1.tar.gz -C talk/third_party
	echo "done"
fi

if [ ! -e talk/third_party/srtp ]; then
	echo -n "Getting latest srtp..."
	cd talk/third_party
	cvs -d:pserver:anonymous@srtp.cvs.sourceforge.net:/cvsroot/srtp co -P srtp
	echo "done"
	cd ../../
fi

--- 
+++ 
@@ -3,7 +3,7 @@
 if [ ! -e talk/third_party/expat-2.0.1 ]; then
 	if [ ! -e expat-2.0.1.tar.gz ]; then
 		echo "Downloading expact..."
-                wget http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download -O expat-2.0.1.tar.gz
+		wget http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download
 	fi
 	echo -n "Extracting expact 2.0.1..."
 	tar zxpf expat-2.0.1.tar.gz -C talk/third_party
Fix download script for expat
