Skip to content

Commit c1a0fee

Browse files
committed
Ensure output dir exists when packaging buildpack
1 parent ceb51b1 commit c1a0fee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/package.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ EOF
126126
if [[ -z "${file}" ]]; then
127127
util::print::error "failed to find zip file in ${ROOTDIR}"
128128
fi
129+
130+
mkdir -p "$(dirname "${output}")"
131+
echo "Moving ${file} to ${output}"
129132
mv "${file}" "${output}"
130133
}
131134

0 commit comments

Comments
 (0)