Lines Matching refs:DW_PATH
26 DW_PATH=$1
32 if [[ ! -d "${DW_PATH}" ]] ; then
33 echo "ERROR: DW_PATH ${DW_PATH} is not a directory"
37 if [[ ! -e "${DW_PATH}/doku.php" ]] ; then
38 echo "ERROR: DW_PATH ${DW_PATH} does not contain a DokuWiki installation (checked for doku.php)"
42 if [[ ! -d "${DW_PATH}/${PROTECTED_DIR}" ]] ; then
43 echo "ERROR: PROTECTED_DIR ${DW_PATH}/${PROTECTED_DIR} is not a directory"
47 for file in $(find "${DW_PATH}" -type f -depth | grep -v "^${DW_PATH}/${PROTECTED_DIR}/") ; do
52 find "${DW_PATH}" -mindepth 1 -type d | \
53 grep -v "^${DW_PATH}/${PROTECTED_DIR}$" | \
54 grep -v "^${DW_PATH}/${PROTECTED_DIR}/" | \
55 grep -v "^${DW_PATH}/lib/plugins$" | \
56 grep -v "^${DW_PATH}/lib$" \