]> mj.ucw.cz Git - edid.git/commitdiff
edid-drm calls edid from its own directory
authorMartin Mares <mj@ucw.cz>
Mon, 27 May 2019 13:57:43 +0000 (15:57 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 27 May 2019 13:57:43 +0000 (15:57 +0200)
debian/changelog
edid-drm

index 8b342988505bb6f40eedeefaf5bfda3279e6cccb..f354e35de34cf6365893f3c2b862d012bf868dfa 100644 (file)
@@ -1,3 +1,9 @@
+edid (1.1-1) UNRELEASED; urgency=medium
+
+  * edit-drm searches for edid in the right directory.
+
+ -- Martin Mares <mj@ucw.cz>  Mon, 27 May 2019 15:56:48 +0200
+
 edid (1.1) stable; urgency=medium
 
   * Cleaned up and updated for Debian Stretch.
index dde382dcf724a60d31cfb2b8f1baeb5cd5f74e92..abe755d3397f02bd8fbdf68ef63488f0b88e5484 100755 (executable)
--- a/edid-drm
+++ b/edid-drm
@@ -4,7 +4,7 @@ for a in /sys/class/drm/card*-* ; do
        if [ -f $a/edid -a "$(cat 2>/dev/null $a/enabled)" = enabled ] ; then
                echo "### $(basename $a) ###"
                echo
-               ./edid <$a/edid
+               $(dirname $0)/edid <$a/edid
                echo
        fi
 done