diff options
author | liamfallon <liam.fallon@est.tech> | 2022-06-17 11:11:55 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2022-06-17 11:12:04 +0100 |
commit | e84250cc5874fdf309fc21e22311bc7501f2621c (patch) | |
tree | 42a0c46efd71ec72af1075b9c9504bd0a5b2fda9 /csit/get-versions.sh | |
parent | 7fda0aca1cdb0fa5e1ebba469afc804506f1a21c (diff) |
Make CSIT scripts locally executable
The CSIT scripts do not have their executable flags set, this change
makes the scripts locally executable.
Issue-ID: POLICY-4233
Change-Id: Ia274481751076027c4224e791c3a35785b9d78a9
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'csit/get-versions.sh')
-rwxr-xr-x[-rw-r--r--] | csit/get-versions.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/csit/get-versions.sh b/csit/get-versions.sh index 6e50d088..87c43b50 100644..100755 --- a/csit/get-versions.sh +++ b/csit/get-versions.sh @@ -1,3 +1,5 @@ +#! /bin/bash + # ============LICENSE_START==================================================== # Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved. # Modification Copyright 2021-2022 Nordix Foundation. @@ -18,7 +20,13 @@ # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END====================================================== -source "${SCRIPTS}"/get-branch.sh + +if [[ -z "$GERRIT_BRANCH" ]] +then + source "${SCRIPTS}"/get-branch.sh +else + echo GERRIT_BRANCH="${GERRIT_BRANCH}" +fi export POLICY_MARIADB_VER=10.5.8 echo POLICY_MARIADB_VER=${POLICY_MARIADB_VER} |