diff options
author | Christopher James Halse Rogers <raof@ubuntu.com> | 2018-09-18 09:40:12 +0200 |
---|---|---|
committer | Christopher James Halse Rogers <raof@ubuntu.com> | 2018-09-18 09:55:12 +0200 |
commit | aa197bfddc1e7d5bd6818ea993eaffbe5d55fc8b (patch) | |
tree | c65c0d91fecd18a4cd235c9eae8546d0fe668eff | |
parent | 703dca60c4f47e2777f00563ec0806b81f769dd1 (diff) | |
download | colord-spotread-tweaking.tar.gz |
cd-sensor-argyll: Consistently search for spotread in $PATHspotread-tweaking
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 |