mirror of
https://github.com/TheLocehiliosan/yadm
synced 2026-03-02 03:49:29 +00:00
Standardize on &> when not appending output
This commit is contained in:
4
Makefile
4
Makefile
@@ -92,7 +92,7 @@ test:
|
||||
cd /yadm && \
|
||||
py.test -v $(testargs); \
|
||||
else \
|
||||
if command -v "docker-compose" >/dev/null 2>&1; then \
|
||||
if command -v "docker-compose" &> /dev/null; then \
|
||||
docker-compose run --rm testbed make test testargs="$(testargs)"; \
|
||||
else \
|
||||
echo "Sorry, this make test requires docker-compose to be installed."; \
|
||||
@@ -192,7 +192,7 @@ sync-clock:
|
||||
|
||||
.PHONY: require-docker
|
||||
require-docker:
|
||||
@if ! command -v "docker" >/dev/null 2>&1; then \
|
||||
@if ! command -v "docker" &> /dev/null; then \
|
||||
echo "Sorry, this make target requires docker to be installed."; \
|
||||
false; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user