Mercurial > ec-dotfiles
diff moefetch.sh @ 180:8e6555aa8631
(none)
author | edhoprima@gmail.com <edhoprima@gmail.com> |
---|---|
date | Fri, 05 Jun 2009 21:13:37 +0000 |
parents | c132eb3ca841 |
children | d3b7927bdb2b |
line wrap: on
line diff
--- a/moefetch.sh Fri Jun 05 21:12:45 2009 +0000 +++ b/moefetch.sh Fri Jun 05 21:13:37 2009 +0000 @@ -125,8 +125,7 @@ # verify required folders exist and writeable Check_Folders(){ [ -O "${BASE_DIR}" ] || Err_Fatal "You don't own ${BASE_DIR}. Please fix ${BASE_DIR}." - for FOLDER in temp trash deleted "${SITE_DIR}/${TARGET_DIR}" - do + for FOLDER in temp trash deleted "${SITE_DIR}/${TARGET_DIR}"; do if [ ! -d "${BASE_DIR}/${FOLDER}" ]; then mkdir "${BASE_DIR}/${FOLDER}" || Err_Fatal "${FOLDER} folder creation failed" fi