#set -x
COMPRESS_CMD="gzip -9nf"
-EXCLUDE_SUFFIXES="htm html jpg jpeg png gif pdf"
+EXCLUDE_SUFFIXES="htm html jpg jpeg png gif pdf css js dia"
EXCLUDE_MASKS=
RECOMPRESS_BZIP2=yes
FIND_CMD="find . -type f "
for SUF in $EXCLUDE_SUFFIXES ; do
- FIND_CMD="$FIND_CMD -a -not -name *.$SUF"
+ FIND_CMD="$FIND_CMD -a -not -name '*.$SUF'"
done
-$FIND_CMD | while read FILENAME ; do
+eval $FIND_CMD | while read FILENAME ; do
if test -n "$EXCLUDE_MASKS" ; then
if eval "case \$(basename \"$FILENAME\") in
$EXCLUDE_MASKS ) true ;;