1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00
putty-source/mksrcarc.sh
Simon Tatham 5a11f18569 Oops, two lines moved out of my snapshot script should have been
left there! Bah.

[originally from svn r3725]
2004-01-18 08:45:50 +00:00

16 lines
630 B
Bash
Executable File

#!/bin/sh
perl mkfiles.pl
text=`{ find . -name CVS -prune -o \
-name .cvsignore -prune -o \
-name LATEST.VER -prune -o \
-name CHECKLST.txt -prune -o \
-name mksrcarc.sh -prune -o \
-name '*.dsp' -prune -o \
-name '*.dsw' -prune -o \
-type f -print | sed 's/^\.\///'; } | \
grep -ivE MODULE\|putty.iss\|website.url | grep -vF .ico`
bin=`{ ls -1 *.ico putty.iss website.url; \
find . -name '*.dsp' -print -o -name '*.dsw' -print; }`
zip -k -l putty-src.zip $text > /dev/null
zip -k putty-src.zip $bin > /dev/null