X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf.d%2Fetc%2Fprofile.d%2Fxds-agent.sh;h=dd7f01d4686a78ea6aed3c688652e15f6e353a2f;hb=f7993c2552f007f34bfbd1865951d9243923276e;hp=78eff4f06bc3896f5dc5843dd6fb260c0ca806d6;hpb=2d90eac319979dba64371258b30e61e77a15db7d;p=src%2Fxds%2Fxds-agent.git diff --git a/conf.d/etc/profile.d/xds-agent.sh b/conf.d/etc/profile.d/xds-agent.sh index 78eff4f..dd7f01d 100644 --- a/conf.d/etc/profile.d/xds-agent.sh +++ b/conf.d/etc/profile.d/xds-agent.sh @@ -1,4 +1,21 @@ #!/bin/bash + ########################################################################### +# Copyright 2017-2018 IoT.bzh +# +# author: Sebastien Douheret +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +########################################################################### #---------- AGL xds-agent tool options Start ---------" -[ ":${PATH}:" != *":%%XDS_INSTALL_BIN_DIR%%:"* ] && export PATH=%%XDS_INSTALL_BIN_DIR%%:${PATH} +[ ":${PATH}:" != *":@XDS_INSTALL_BIN_DIR@:"* ] && export PATH=@XDS_INSTALL_BIN_DIR@:${PATH}