Remove the redundant special file name. It would be better to specify
/dev/stdin, if we wanted to specify a file name. But the command just
works as a filter without a filename, so there's no need for that at
all. Remove this redundant code.
The other compressors are compatible with gzip(1) in that regard. Do
the same.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
fi
else ifeq ($(Z),.gz)
if ! $(TEST) -L $@; then \
- $(GZIP) $(GZIPFLAGS) - <$@ \
+ $(GZIP) $(GZIPFLAGS) <$@ \
| $(SPONGE) $@; \
fi
else ifeq ($(Z),.lz)
if ! $(TEST) -L $@; then \
- $(LZIP) $(LZIPFLAGS) - <$@ \
+ $(LZIP) $(LZIPFLAGS) <$@ \
| $(SPONGE) $@; \
fi
else ifeq ($(Z),.xz)
if ! $(TEST) -L $@; then \
- $(XZ) $(XZFLAGS) - <$@ \
+ $(XZ) $(XZFLAGS) <$@ \
| $(SPONGE) $@; \
fi
endif