aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'check_eclasses_eapis.sh')
-rwxr-xr-xcheck_eclasses_eapis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_eclasses_eapis.sh b/check_eclasses_eapis.sh
index ba07ea0..1c963dd 100755
--- a/check_eclasses_eapis.sh
+++ b/check_eclasses_eapis.sh
@@ -2,7 +2,7 @@
# Created by Tomáš Chvátal <scarabeus@gentoo.org>
# License WTFPL-2.0
-if [[ ! -z ${1} ]]; then
+if [[ -n ${1} ]]; then
DIR="${1}"
[[ -d ${DIR} ]] || mkdir -p ${DIR}
else