diff options
Diffstat (limited to 'publish')
-rwxr-xr-x | publish | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ HERE=$(dirname $(readlink -f ${0}))/src; -HTML=html; +KEEP=html; # output directory TEMP=$(mktemp -d); chmod 755 ${TEMP}; @@ -13,7 +13,7 @@ SASS=0; LOGO=0; HTML=0; for arg; do - case "${ARG}" in + case "${arg}" in sass) SASS=1; ;; logo) LOGO=1; ;; html) HTML=1; ;; @@ -88,6 +88,6 @@ cp ${HERE}/robots.txt ${TEMP}; # publish # rm -fr ${HTML}; -mv ${TEMP} ${HTML}; +mv ${TEMP} ${KEEP}; fi # HTML |