From dd6681f1826f2cd51767fab4d09920d593d84444 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 25 Nov 2012 10:57:15 +0100 Subject: [PATCH] edid-drm: Bugfix --- edid-drm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edid-drm b/edid-drm index 69c179c..dde382d 100755 --- a/edid-drm +++ b/edid-drm @@ -1,7 +1,7 @@ #!/bin/sh set -e for a in /sys/class/drm/card*-* ; do - if [ -f $a/edid -a $(cat 2>/dev/null $a/enabled) = enabled ] ; then + if [ -f $a/edid -a "$(cat 2>/dev/null $a/enabled)" = enabled ] ; then echo "### $(basename $a) ###" echo ./edid <$a/edid -- 2.39.5