tdon't spam on make clean - mars - superminimal static website framework HTML git clone git://parazyd.org/mars.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 96710253cf7d39306ebe21695317dd59e46fda5d DIR parent 57a3d8292067c62cf013aa83670bff2a1e0a6287 HTML Author: parazyd <parazyd@dyne.org> Date: Fri, 17 Jun 2016 13:32:33 +0200 don't spam on make clean Diffstat: M mars.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) --- DIR diff --git a/mars.sh b/mars.sh t@@ -63,13 +63,11 @@ clean() { print "${fg[blue]} -- /$dir --${reset_color}" for page in $pages; do - if [[ -n "${exclude[(r)$page]}" ]]; then - print "${fg[yellow]}(*) skipping ${page}${reset_color}" - else + [[ -n "${exclude[(r)$page]}" ]] || { name=${page[(ws:.:)1]} printf "(*) " rm -v $name.html - fi + } done popd