summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-02-27 07:35:57 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-03-20 17:19:04 +0100
commitf69b70e43775ecad6b4a95f0a8c43cc29988f268 (patch)
treed2b6a7ad4a86bbb7ba03e8c01e5482983907e3ed /tools
parent6907d16f7d3c07d6b22d024f52625ac242688bbb (diff)
Delete tarball and source dir properly
Diffstat (limited to 'tools')
-rw-r--r--tools/add-dependency.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/add-dependency.sh b/tools/add-dependency.sh
index 5286dd4..b1fcc92 100644
--- a/tools/add-dependency.sh
+++ b/tools/add-dependency.sh
@@ -24,8 +24,9 @@ $EXTRACT $DEPENDENCY*
mv $DEPENDENCY-$VERSION/* .
rm *.tar.xz
rm *.tar.gz
-rm *.tar.bz
+rm *.tar.bz2
rm *.zip
+rm -rf $DEPENDENCY-$VERSION
git add *
git commit -m "Import upstream release $DEPENDENCY-$VERSION"
git remote add origin $REMOTE_GIT_ROOT/$DEPENDENCY.git