Skip to content

Commit

Permalink
tooling: Replace &>/dev/null with >/dev/null 2>&1
Browse files Browse the repository at this point in the history
  • Loading branch information
cassava committed Feb 3, 2021
1 parent 12e4aca commit c4c3561
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile.setup
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ install-system-deps:: install-ubuntu-deps
endif

install-ubuntu-deps::
command -v ${APT} &>/dev/null
command -v ${APT} >/dev/null 2>&1
${APT} install ${APT_ARGS} \
bats \
build-essential \
Expand All @@ -71,7 +71,7 @@ install-ubuntu-deps::

ifndef WITHOUT_DEV_DEPS
install-ubuntu-deps::
command -v ${APT} &>/dev/null
command -v ${APT} >/dev/null 2>&1
${APT} install ${APT_ARGS} \
clang-format \
python3-venv
Expand All @@ -83,7 +83,7 @@ install-system-deps:: install-archlinux-deps
endif

install-archlinux-deps::
command -v ${PACMAN} &>/dev/null
command -v ${PACMAN} >/dev/null 2>&1
${PACMAN} -S ${PACMAN_ARGS} \
base-devel \
bash \
Expand All @@ -100,7 +100,7 @@ install-archlinux-deps::

ifndef WITHOUT_DEV_DEPS
install-archlinux-deps::
command -v ${PACMAN} &>/dev/null
command -v ${PACMAN} >/dev/null 2>&1
${PACMAN} -S ${PACMAN_ARGS} \
clang \
python-virtualenv
Expand All @@ -112,12 +112,12 @@ install-deps:: install-python-deps
endif

install-python-deps::
command -v ${PIP} &>/dev/null
command -v ${PIP} >/dev/null 2>&1
${PIP} install ${PIP_INSTALL_ARGS} conan

ifndef WITHOUT_DEV_DEPS
install-python-deps::
command -v ${PIP} &>/dev/null
command -v ${PIP} >/dev/null 2>&1
for pkg in \
black \
mypy \
Expand Down

0 comments on commit c4c3561

Please sign in to comment.