X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2Fosmclient%2Fcharm.sh;fp=docker%2Fosmclient%2Fcharm.sh;h=75e7a47ea199ebba09bb5c1c10b718cbbb3d5e75;hb=069e46f28033b9ecc99d7975887ecbd9b1e13ee9;hp=0000000000000000000000000000000000000000;hpb=81db82cd6d2cb2a1c4ea5d156f2ef9134c776bf7;p=osm%2Fdevops.git diff --git a/docker/osmclient/charm.sh b/docker/osmclient/charm.sh new file mode 100755 index 00000000..75e7a47e --- /dev/null +++ b/docker/osmclient/charm.sh @@ -0,0 +1,31 @@ +#!/bin/bash +####################################################################################### +# Copyright ETSI Contributors and Others. +# +# 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. +####################################################################################### + +# Workaround for charm build + +function build() { + echo "$@" + charm-build "$@" +} + +params="$@" +delete=build + +params=("${params[@]/$delete}") + +build $params