Skip to content

Commit

Permalink
Avoid creating .tar in every loop
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jun 16, 2015
1 parent d55fc10 commit e3b9049
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/create-release.sh
Expand Up @@ -218,11 +218,11 @@ for kit in $KITS ; do
echo "WARNING: ignoring compression '$comp', not known!"
;;
esac

# Cleanup
rm -f $name.tar
done


# Cleanup
rm -f $name.tar
# Remove directory with current dist set
rm -rf $name
done
Expand Down

0 comments on commit e3b9049

Please sign in to comment.