From 7f13c60e466e7ea21000fa539c7b0ed0a6f09da0 Mon Sep 17 00:00:00 2001 From: Yu Jiung Date: Wed, 29 Jun 2016 15:14:58 +0900 Subject: [PATCH] Add PATH environment variable to shell scripts2 Change-Id: I2723d4c6a9995ea3e2718057e89a616d056394d2 Signed-off-by: Yu jiung --- files/p2p_supp.sh.in | 1 + files/udhcp_script.non-autoip.in | 2 +- packaging/wifi-direct-manager.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/files/p2p_supp.sh.in b/files/p2p_supp.sh.in index 7d6066e..b45d52b 100755 --- a/files/p2p_supp.sh.in +++ b/files/p2p_supp.sh.in @@ -1,4 +1,5 @@ #!/bin/sh +PATH=/bin:/usr/bin:/sbin:/usr/sbin PROGRAM="@SBIN_DIR@/wpa_supplicant" diff --git a/files/udhcp_script.non-autoip.in b/files/udhcp_script.non-autoip.in index 4083881..02f597c 100755 --- a/files/udhcp_script.non-autoip.in +++ b/files/udhcp_script.non-autoip.in @@ -1,5 +1,5 @@ #!/bin/sh - +PATH=/bin:/usr/bin:/sbin:/usr/sbin # udhcpc script edited by Tim Riker [ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 diff --git a/packaging/wifi-direct-manager.spec b/packaging/wifi-direct-manager.spec index b8adb1c..3e4839b 100755 --- a/packaging/wifi-direct-manager.spec +++ b/packaging/wifi-direct-manager.spec @@ -1,6 +1,6 @@ Name: wifi-direct-manager Summary: Wi-Fi Direct manger -Version: 1.2.180 +Version: 1.2.181 Release: 1 Group: Network & Connectivity/Wireless License: Apache-2.0 -- 2.7.4