From 8b642497d1cdb08b5f1a68055fd7f2d96b1a3983 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 16 Jan 2018 18:06:32 +0100 Subject: [PATCH] Fix not existing /etc/xdtrc file Change-Id: I1bfcb754fe7fd510f88d16153c00cb1f966aabed Signed-off-by: Romain Forlot --- scripts/sdks/agl/_env-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sdks/agl/_env-init.sh b/scripts/sdks/agl/_env-init.sh index 0f423c4..a08f798 100755 --- a/scripts/sdks/agl/_env-init.sh +++ b/scripts/sdks/agl/_env-init.sh @@ -17,7 +17,7 @@ # limitations under the License. ########################################################################### -. /etc/xdtrc +[ -f /etc/xdtrc ] && . /etc/xdtrc [ -z "$XDT_SDK" ] && XDT_SDK=/xdt/sdk -- 2.16.6