export right off

This commit is contained in:
nuex 2011-10-06 17:31:07 -04:00
parent d4f03b0314
commit 882ceb158b

View File

@ -3,9 +3,9 @@
# ZODIAC - a simple static site generator # ZODIAC - a simple static site generator
# Copyright (c) 2011 Chase Allen James <nx-zodiac@nu-ex.com> # Copyright (c) 2011 Chase Allen James <nx-zodiac@nu-ex.com>
ZOD_LIB=ZODLIB_PATH export ZOD_LIB=ZODLIB_PATH
ZOD_PROJECT=$1 export ZOD_PROJECT=$1
ZOD_TARGET=$2 export ZOD_TARGET=$2
_zod_error() { _zod_error() {
echo -e ">>> ERROR: $*" >&2 echo -e ">>> ERROR: $*" >&2
@ -16,8 +16,6 @@ _zod_error() {
[ ! -d "$ZOD_PROJECT" ] && _zod_error "project directory does not exist" [ ! -d "$ZOD_PROJECT" ] && _zod_error "project directory does not exist"
[ ! -d "$ZOD_TARGET" ] && _zod_error "target directory does not exist" [ ! -d "$ZOD_TARGET" ] && _zod_error "target directory does not exist"
export ZOD_LIB ZOD_PROJECT ZOD_TARGET
find "$ZOD_PROJECT" -type f \ find "$ZOD_PROJECT" -type f \
! -name "*.layout" \ ! -name "*.layout" \
! -name "*.meta" \ ! -name "*.meta" \