#!/bin/sh
+
+set -e
+
perl mkfiles.pl
# These are text files.
text=`{ find . -name CVS -prune -o \
# files.
bintext=testdata/*.txt
# These are actual binary files which we don't want transforming.
-bin=`{ ls -1 windows/*.ico windows/putty.iss windows/website.url macosx/*.icns; \
+bin=`{ ls -1 windows/*.ico windows/putty.iss windows/website.url; \
find . -name '*.dsp' -print -o -name '*.dsw' -print; }`
-zip -k -l putty-src.zip $text > /dev/null
-zip -k -l putty-src.zip $bintext >& /dev/null
-zip -k putty-src.zip $bin > /dev/null
+
+verbosely() {
+ echo "$@"
+ "$@"
+}
+
+verbosely zip -l putty-src.zip $text
+verbosely zip -l putty-src.zip $bintext
+verbosely zip putty-src.zip $bin