Skip to content

Commit 5a992c8

Browse files
Update CNB tools
1 parent d16680f commit 5a992c8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/install_tools.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
set -euo pipefail
33

44
PACK_VERSION=latest
5+
BP_PACKAGED_PATH=${BP_PACKAGED_PATH:-""}
56
usage() {
67
echo "Usage: install_tools.sh <version: optional>"
78
echo "Example: install_tools.sh 0.0.9"
@@ -108,5 +109,7 @@ mkdir -p .bin
108109
export PATH=$(pwd)/.bin:$PATH
109110

110111
install_pack
111-
install_packager
112+
if [[ -z "${BP_PACKAGED_PATH}" ]]; then
113+
install_packager
114+
fi
112115

0 commit comments

Comments
 (0)