diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-02-27 07:35:57 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-03-20 17:19:04 +0100 |
commit | f69b70e43775ecad6b4a95f0a8c43cc29988f268 (patch) | |
tree | d2b6a7ad4a86bbb7ba03e8c01e5482983907e3ed | |
parent | 6907d16f7d3c07d6b22d024f52625ac242688bbb (diff) |
Delete tarball and source dir properly
-rw-r--r-- | tools/add-dependency.sh | 3 |
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 |