Don't use -DD option.

The Info-ZIP version of unzip supports this but the FreeBSD doesn't.
We can get the same result by touching the file after extract.
This commit is contained in:
Simon Howard 2023-10-14 13:51:32 -04:00
parent 0f380f7778
commit a24ca489c8
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@ export SOURCE_PORT=/usr/games/chocolate-doom
# Quiet output, convert to lower case, don't restore timestamps,
# overwrite without prompt, extract to extract/ directory.
UNZIPOPTS = -q -LL -DD -o -d extract
UNZIPOPTS = -q -LL -o -d extract
OUTPUTS =
WADS = extract/miniwad.wad
@ -12,6 +12,7 @@ all: check
extract/%:
unzip $(UNZIPOPTS) $< $(subst extract/,,$@)
touch $@
extract/miniwad.wad: miniwad.zip
testrunner: $(SOURCE_PORT) extract/miniwad.wad