From 602c7b068f596a6a528c3571f2182c77d48c3cd9 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sun, 18 Mar 2012 23:18:05 +0100 Subject: [PATCH] add -c flag to distribute --- cleanup | 5 ----- distribute | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) delete mode 100755 cleanup diff --git a/cleanup b/cleanup deleted file mode 100755 index 1ab78c8..0000000 --- a/cleanup +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -make -C installer clean -make -C boot clean -make clean diff --git a/distribute b/distribute index c1fe531..c294df3 100755 --- a/distribute +++ b/distribute @@ -54,4 +54,10 @@ make_distribution () echo -e "\n \n" >> HomebrewFilter/meta.xml } +if [[ $1 == "-c" ]]; then + make clean + make -C boot clean + make -C installer clean +fi + make_distribution