diff options
author | Christopher James Halse Rogers <raof@ubuntu.com> | 2018-09-18 09:40:12 +0200 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2018-09-20 11:00:08 +0100 |
commit | ebac30d653cc825306503c190d83114ad1e5d0fb (patch) | |
tree | c65c0d91fecd18a4cd235c9eae8546d0fe668eff | |
parent | 523c695d7640c6d9fa5fafd0e4994f7ad6cf57b4 (diff) | |
download | colord-ebac30d653cc825306503c190d83114ad1e5d0fb.tar.gz |
cd-sensor-argyll: Consistently search for spotread in $PATH
Elsewhere we look for spotread in $PATH, and the meson check is for spotread in
$PATH, so consistently use non-absolute paths for spawning spotread
-rw-r--r-- | src/sensors/argyll/cd-sensor-argyll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensors/argyll/cd-sensor-argyll.c b/src/sensors/argyll/cd-sensor-argyll.c index e63e833..ef8456d 100644 --- a/src/sensors/argyll/cd-sensor-argyll.c +++ b/src/sensors/argyll/cd-sensor-argyll.c @@ -251,7 +251,7 @@ cd_sensor_get_sample_async (CdSensor *sensor, /* if spotread is not already running then execute */ if (!cd_spawn_is_running (priv->spawn)) { argv = g_ptr_array_new_with_free_func (g_free); - g_ptr_array_add (argv, g_strdup ("/usr/bin/spotread")); + g_ptr_array_add (argv, g_strdup ("spotread")); g_ptr_array_add (argv, g_strdup ("-d")); g_ptr_array_add (argv, g_strdup_printf ("-c%u", priv->communication_port)); g_ptr_array_add (argv, g_strdup ("-N")); //no autocal |