From 28a2368fca387ce76e8c8496b848c14952f3c400 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 11 Mar 2005 09:07:37 +0000 Subject: [PATCH] Fiddle with source archive for new OS X files. git-svn-id: svn://svn.tartarus.org/sgt/putty@5489 cda61777-01e9-0310-a592-d414129be87e --- mksrcarc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mksrcarc.sh b/mksrcarc.sh index f2e9845b..eb15407a 100755 --- a/mksrcarc.sh +++ b/mksrcarc.sh @@ -10,14 +10,14 @@ text=`{ find . -name CVS -prune -o \ -name '*.dsp' -prune -o \ -name '*.dsw' -prune -o \ -type f -print | sed 's/^\.\///'; } | \ - grep -ivE 'testdata/.*\.txt|MODULE|putty.iss|website.url' | grep -vF .ico` + grep -ivE 'testdata/.*\.txt|MODULE|putty.iss|website.url' | grep -vF .ico | grep -vF .icns` # These are files which I'm _sure_ should be treated as text, but # which zip might complain about, so we direct its moans to # /dev/null! Apparently its heuristics are doubtful of UTF-8 text # 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; \ +bin=`{ ls -1 windows/*.ico windows/putty.iss windows/website.url macosx/*.icns; \ 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 -- 2.11.0