From f69b70e43775ecad6b4a95f0a8c43cc29988f268 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Mon, 27 Feb 2012 07:35:57 +0100 Subject: Delete tarball and source dir properly --- tools/add-dependency.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/add-dependency.sh') 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 -- cgit v1.2.3