Skip to content

Commit

Permalink
CI/travis/get_ldist: &> /dev/null re-direction doesn't work in /bin/sh
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
  • Loading branch information
commodo committed Nov 22, 2018
1 parent a032cfe commit b31f7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CI/travis/get_ldist
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ get_ldist() {
return 0
fi
. /etc/os-release
if ! command dpkg --version &> /dev/null ; then
if ! command dpkg --version >/dev/null 2>&1 ; then
echo $ID-$VERSION_ID-$(uname -m)
else
echo $ID-$VERSION_ID-$(dpkg --print-architecture)
Expand Down

0 comments on commit b31f7e4

Please sign in to comment.