Merge pull request #2213 from fluxcd/fix-bundle.sh

Fix ./manifests/scripts/bundle.sh path resolution
This commit is contained in:
Aurel Canciu 2021-12-13 14:23:25 +02:00 committed by GitHub
commit e07558f5b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,8 +16,8 @@
set -e
IN_PATH=${1:-"$(git rev-parse --show-toplevel)/manifests"}
OUT_PATH=${2:-"$(git rev-parse --show-toplevel)/cmd/flux/manifests"}
IN_PATH=${1:-"$(realpath $(dirname "${BASH_SOURCE[0]}")/../..)/manifests"}
OUT_PATH=${2:-"$(realpath $(dirname "${BASH_SOURCE[0]}")/../..)/cmd/flux/manifests"}
TAR=${3}
info() {