From aa157fa07f5e12a149bde5eac640f8e23b8ceb03 Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Thu, 23 Mar 2023 12:12:31 +0100 Subject: [PATCH] Run apply-peripheral-io-perms with predefined $PATH Be sure what tools we actually call. Change-Id: I97a790b30c82661585809a99548aea780158fafd --- packaging/apply-peripheral-io-perms | 2 ++ packaging/capi-system-peripheral-io.spec | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packaging/apply-peripheral-io-perms b/packaging/apply-peripheral-io-perms index 6729982..0fbc2b0 100644 --- a/packaging/apply-peripheral-io-perms +++ b/packaging/apply-peripheral-io-perms @@ -1,5 +1,7 @@ #!/bin/sh +export PATH="/bin:/sbin" + [ $# -lt 2 ] && exit 1 DIR="$1" diff --git a/packaging/capi-system-peripheral-io.spec b/packaging/capi-system-peripheral-io.spec index fd4cd35..8ff648b 100644 --- a/packaging/capi-system-peripheral-io.spec +++ b/packaging/capi-system-peripheral-io.spec @@ -1,6 +1,6 @@ Name: capi-system-peripheral-io Summary: Tizen Peripheral Input & Output library -Version: 0.4.0 +Version: 0.4.1 Release: 0 Group: System & System Tools License: Apache-2.0 -- 2.7.4