main/devicepkg-dev: make shellcheck happy (!636)

This commit is contained in:
Oliver Smith
2019-09-26 21:43:34 +02:00
parent 8c34ea6f81
commit 63544524b7
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -65,12 +65,12 @@ echo_libinput_calibration()
}
# shellcheck disable=SC2154
if [ ! -z "$deviceinfo_dev_touchscreen" ]; then
if [ -n "$deviceinfo_dev_touchscreen" ]; then
# Create touchscreen udev rule
{
echo "SUBSYSTEM==\"input\", ENV{DEVNAME}==\"$deviceinfo_dev_touchscreen\", \\"
# shellcheck disable=SC2154
if [ ! -z "$deviceinfo_dev_touchscreen_calibration" ]; then
if [ -n "$deviceinfo_dev_touchscreen_calibration" ]; then
echo "ENV{WL_CALIBRATION}=\"$deviceinfo_dev_touchscreen_calibration\", \\"
# The following intentionally expands the touchscreen calibration into the