Fix: bashisms - step 2
[releng/builder.git] / jjb / packaging / helm-repo-init.sh
index 5d584d2dbab812001f7d51a8ea545fa03caead0f..54e5d67f85eaa4eae81dcd6cc89f80cea0011ec8 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 # SPDX-License-Identifier: EPL-1.0
 ##############################################################################
 # Copyright (c) 2017 The Linux Foundation and others.
@@ -14,7 +14,7 @@ set -e -o pipefail
 
 mkdir -p ".chartstorage"
 
-chartmuseum --port=6464 --storage="local" --storage-local-rootdir=".chartstorage" &> /dev/null &
+chartmuseum --port=6464 --storage="local" --storage-local-rootdir=".chartstorage" >/dev/null 2>&1 &
 . helm.prop
 $HELM_BIN plugin install --version v0.9.0 https://github.com/chartmuseum/helm-push.git || true
 $HELM_BIN repo add local http://localhost:6464