diff options
author | Edward Hervey <bilboed@bilboed.com> | 2014-12-05 10:52:54 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2014-12-05 10:52:54 +0100 |
commit | 8987667b4e8964247a52f747ad5477a82f2b6c78 (patch) | |
tree | 817b9ce629c19b4a85fd2b572767268ed217427f /recipes/glib-networking.recipe | |
parent | 10feed167912a4d4174c1ed8905d8a8bc5b8ad5b (diff) |
recipe: Use proper location of 'true' command
Diffstat (limited to 'recipes/glib-networking.recipe')
-rw-r--r-- | recipes/glib-networking.recipe | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/glib-networking.recipe b/recipes/glib-networking.recipe index 40fc6057..eef3a7e9 100644 --- a/recipes/glib-networking.recipe +++ b/recipes/glib-networking.recipe @@ -1,5 +1,6 @@ # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python import os +from cerbero.utils.shell import which class Recipe(recipe.Recipe): name = 'glib-networking' @@ -27,7 +28,7 @@ class Recipe(recipe.Recipe): querymodule_path = arch_path if not self.config.prefix_is_executable(): - querymodule_path = '/bin/true' + querymodule_path = which('true') if self.config.target_platform in [Platform.ANDROID]: self.append_env['CFLAGS'] = ' -DGST_CA_CERTIFICATES_FROM_ENV' |