summaryrefslogtreecommitdiff
path: root/tools/add-dependency.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/add-dependency.sh')
-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 5286dd44..b1fcc925 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