mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-28 09:17:07 -05:00
Updates to mksrcarc.sh.
.dsp and .dsw files are no longer provided in the source archive (they went out with mkfiles.pl), so there's no need to include an exception to treat them as binary files. On the other hand, the source archives _do_ contain a .chm help file and a .cur mouse pointer image, which _should_ be treated as binary. (That was a benign omission: Info-Zip detected by itself that the files were binary, and didn't mangle them. But it did print an annoying warning, which this commit fixes.) While I'm here, add .git to the list of version control subdirectories to exclude.
This commit is contained in:
parent
b01173c6b7
commit
a01deea1b1
@ -6,11 +6,12 @@ set -e
|
||||
text=`{ find . -name CVS -prune -o \
|
||||
-name .cvsignore -prune -o \
|
||||
-name .svn -prune -o \
|
||||
-name .git -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 \
|
||||
-name '*.chm' -prune -o \
|
||||
-name '*.cur' -prune -o \
|
||||
-type f -print | sed 's/^\.\///'; } | \
|
||||
grep -ivE 'test/.*\.txt|MODULE|website.url' | grep -vF .ico | grep -vF .icns`
|
||||
# These are files which I'm _sure_ should be treated as text, but
|
||||
@ -20,7 +21,7 @@ text=`{ find . -name CVS -prune -o \
|
||||
bintext=test/*.txt
|
||||
# These are actual binary files which we don't want transforming.
|
||||
bin=`{ ls -1 windows/*.ico windows/website.url; \
|
||||
find . -name '*.dsp' -print -o -name '*.dsw' -print; }`
|
||||
find . -name '*.chm' -print -o -name '*.cur' -print; }`
|
||||
|
||||
verbosely() {
|
||||
echo "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user