summaryrefslogtreecommitdiff
path: root/scripts/casper-bottom/19keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/casper-bottom/19keyboard')
-rwxr-xr-xscripts/casper-bottom/19keyboard8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/casper-bottom/19keyboard b/scripts/casper-bottom/19keyboard
index 7acc4e4..81cce72 100755
--- a/scripts/casper-bottom/19keyboard
+++ b/scripts/casper-bottom/19keyboard
@@ -26,16 +26,16 @@ csvariant=
csmodel=
# commandline
-if [ ! -z "${KBD}" ]; then
+if [ -n "${KBD}" ]; then
kbd="${KBD}"
fi
-if [ ! -z "${CSLAYOUT}" ]; then
+if [ -n "${CSLAYOUT}" ]; then
cslayout="${CSLAYOUT}"
fi
-if [ ! -z "${CSVARIANT}" ]; then
+if [ -n "${CSVARIANT}" ]; then
csvariant="${CSVARIANT}"
fi
-if [ ! -z "${CSMODEL}" ]; then
+if [ -n "${CSMODEL}" ]; then
csmodel="${CSMODEL}"
fi