summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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