Skip to content
Snippets Groups Projects
Commit ab659aac authored by Simon Tatham's avatar Simon Tatham
Browse files

Fiddle with source archive for new OS X files.

[originally from svn r5489]
parent a1f0e69f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment