summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-03-07 20:26:34 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-03-20 17:19:12 +0100
commit719cfdb0015ccf80eef8f800cbc7c40a3ba6778d (patch)
treee9457c225f1c7003de6f0fe7fadd31efe1dafda8 /tools
parent41d3f26968b5b84016a3e80bd7af341341f744e0 (diff)
Use again wget for redirections
Diffstat (limited to 'tools')
-rwxr-xr-xtools/add-dependency.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/add-dependency.sh b/tools/add-dependency.sh
index 14fd06b6..979d73e3 100755
--- a/tools/add-dependency.sh
+++ b/tools/add-dependency.sh
@@ -16,10 +16,12 @@ REMOTE_GIT_ROOT="ssh+git://git.keema.collabora.co.uk/git/gst-sdk"
curdir=`pwd`
+
+set -x
ssh $SSH_LOGIN "git init --bare $GIT_ROOT/$DEPENDENCY.git"
git init $PREFIX/$DEPENDENCY
cd $PREFIX/$DEPENDENCY
-curl $LOCATION 2>&1 > $DEPENDENCY.tarball
+wget $LOCATION -O $DEPENDENCY.tarball
$EXTRACT $DEPENDENCY.tarball