diff options
author | 2018-07-30 15:50:12 -0700 | |
---|---|---|
committer | 2018-07-30 15:50:12 -0700 | |
commit | fd43ca256b21606c64d1463a3cd024fbf73b4a54 (patch) | |
tree | e9b3d91d50d76ec672485ec47006712b2876b6da /build-dockers.sh | |
parent | 4b3243c48fb977e7a4c4dd1d420ba45e47803e7d (diff) |
Added missing sudo privileges
Added the missing sudo privilieges required to install packages
Change-Id: I998decc0f8a20cc6575564c12f7e0dcb278802a5
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'build-dockers.sh')
-rwxr-xr-x | build-dockers.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-dockers.sh b/build-dockers.sh index 91a2e09..0b02b32 100755 --- a/build-dockers.sh +++ b/build-dockers.sh @@ -33,7 +33,7 @@ function log_ts() { # Log message with timestamp function get_artifact_version() { log_ts Get Maven Artifact version from pom.xml - apt-get install libxml2-utils + sudo apt-get install libxml2-utils MVN_ARTIFACT_VERSION=`echo -e "setns x=http://maven.apache.org/POM/4.0.0 \n xpath /x:project/x:version/text() "| xmllint --shell conductor/pom.xml | grep content | sed 's/.*content=//'` log_ts Maven artifact version for HAS is $MVN_ARTIFACT_VERSION if [[ "$MVN_ARTIFACT_VERSION" =~ SNAPSHOT ]]; then |