X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf.d%2Fetc%2Fprofile.d%2Fxds-server.sh;h=738be215d0e312b1a6df9532694d2e5710ee3327;hb=refs%2Fchanges%2F23%2F15023%2F1;hp=72f2b1abe47acbf3c075fdf1f80de9ecf775460d;hpb=6f21a87e3b3cdbf013f470519ed17394f9d8853e;p=src%2Fxds%2Fxds-server.git diff --git a/conf.d/etc/profile.d/xds-server.sh b/conf.d/etc/profile.d/xds-server.sh index 72f2b1a..738be21 100644 --- a/conf.d/etc/profile.d/xds-server.sh +++ b/conf.d/etc/profile.d/xds-server.sh @@ -1,4 +1,20 @@ -#!/bin/bash +########################################################################### +# Copyright 2017 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-server 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}