Permalink
Browse files

tests/winetricks-test: use 'test -n' instead of 'test ! -z' (shellcheck)

  • Loading branch information...
austin987 committed Dec 4, 2018
1 parent 6437f64 commit 5908a445e1bf6ce3d4e1b0d421de9a747aa9968c
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/winetricks-test
@@ -58,7 +58,7 @@ if [ "$1" = "check-deps" ] ; then
# Using an environmental variable rather than a CLI option
# so it doesn't need extra handling/targets in Makefile
elif [ ! -z "$WINETRICKS_ENABLE_KCOV" ] ; then
elif [ -n "$WINETRICKS_ENABLE_KCOV" ] ; then
KCOV_RESULTS="${outputdir}/kcov-results"
rm -rf "$KCOV_RESULTS"
mkdir -p "$KCOV_RESULTS"

0 comments on commit 5908a44

Please sign in to comment.