tfix clean() - mars - superminimal static website framework
 (HTM) git clone git://parazyd.org/mars.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a16e47faeb4a32510397580735fc6bae1540b7ae
 (DIR) parent 364b7c8472a33a596b6cabfb3c01e9c5b7ea7821
 (HTM) Author: parazyd <parazyd@dyne.org>
       Date:   Fri,  1 Jul 2016 15:05:21 +0200
       
       fix clean()
       
       Diffstat:
         M mars.sh                             |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/mars.sh b/mars.sh
       t@@ -64,8 +64,8 @@ clean() {
                        print "${fg[blue]}        -- /$dir --${reset_color}"
                        pushd $dir && pages=($(ls *.$pageformat)) && {
                                for page in $pages; do
       -                                [[ -n "${exclude[(r)$page]}" ]] || name=${page[(ws:.:)1]}
       -                                printf "${fg[blue]}(*) ${reset_color}" && rm -v $name.html
       +                                [[ -n "${exclude[(r)$page]}" ]] || { name=${page[(ws:.:)1]} && \
       +                                printf "${fg[blue]}(*) ${reset_color}" && rm -v $name.html }
                                done && popd
                        } || { wrn "directory unusable" && popd }
                done