aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sdks/agl
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-01-16 18:06:32 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-22 13:23:45 +0000
commit8b642497d1cdb08b5f1a68055fd7f2d96b1a3983 (patch)
tree9cab9c1ae1e600c9d3aee9d93437b21180bf28a9 /scripts/sdks/agl
parente4a70a62643fbe2d1e4457fc264df82f0f3ece8f (diff)
Fix not existing /etc/xdtrc file
Change-Id: I1bfcb754fe7fd510f88d16153c00cb1f966aabed Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'scripts/sdks/agl')
-rwxr-xr-xscripts/sdks/agl/_env-init.sh2
1 files changed, 1 insertions, 1 deletions
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