#!/bin/bash if [ ! "$(pwd | grep scripts$)" ] ; then echo "Working directory is wrong" exit 1; fi . _defines.sh CURRENT_DIR=`pwd` cd $WWW_PATH find js -name '*.pack.js' -type f -exec rm -f '{}' \; find css -name '*.pack.css' -type f -exec rm -f '{}' \; cd $CURRENT_DIR exit 0