Change directory to be able to load common script.

This commit is contained in:
redxef 2022-08-29 18:43:57 +02:00
parent bb1ce99149
commit bb77c424d9
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921
3 changed files with 3 additions and 0 deletions

View file

@ -2,6 +2,7 @@
set -eu
[ -e /opt/resource/common ] && cd /opt/resource
. ./common
jq -r tostring << EOF

1
src/in
View file

@ -2,6 +2,7 @@
set -eu
[ -e /opt/resource/common ] && cd /opt/resource
. ./common
oci_dir="$(mktemp -d)"

View file

@ -2,6 +2,7 @@
set -eu
[ -e /opt/resource/common ] && cd /opt/resource
. ./common
IMAGE_REFS_FILE="$(mktemp -t)"