summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-03-06 16:16:19 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-03-20 17:19:11 +0100
commit7bd8e8fe1bec0a0d70edde089e47d652087b1a2f (patch)
tree7adeddf94392790717504b6383e1757110a9bc4a
parent4283fd6186e36143d12d07c1318b40ab1ee2b41a (diff)
Use curl instead of wget
-rwxr-xr-xtools/add-dependency.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/add-dependency.sh b/tools/add-dependency.sh
index 9351506e..14fd06b6 100755
--- a/tools/add-dependency.sh
+++ b/tools/add-dependency.sh
@@ -19,12 +19,12 @@ curdir=`pwd`
ssh $SSH_LOGIN "git init --bare $GIT_ROOT/$DEPENDENCY.git"
git init $PREFIX/$DEPENDENCY
cd $PREFIX/$DEPENDENCY
-wget $LOCATION
+curl $LOCATION 2>&1 > $DEPENDENCY.tarball
-$EXTRACT $DEPENDENCY*
+$EXTRACT $DEPENDENCY.tarball
mv $DEPENDENCY-$VERSION/* .
-rm -f *.tar.xz *.tar.gz *.tar.bz2 *.zip
+rm $DEPENDENCY.tarball
rm -rf $DEPENDENCY-$VERSION
git add *
git commit -m "Import upstream release $DEPENDENCY-$VERSION"