File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -82,13 +82,12 @@ install-pack-cli: upgrade-pack
82
82
else \
83
83
echo " pack already installed at $( PACK_BIN) " ; \
84
84
fi
85
- @echo " pack version: $( shell pack --version) "
85
+ @echo " pack version: " ` pack --version`
86
86
87
87
.PHONY : check-pack-cli-version
88
- check-pack-cli-version : export INSTALLED_VERSION:=$(shell pack --version | cut -d '+' -f 1)
89
88
check-pack-cli-version :
90
- @echo " > Installed pack version: $( INSTALLED_VERSION ) "
91
- @if [ " $( INSTALLED_VERSION ) " != " $( PACK_VERSION) " ]; then \
89
+ @echo " > Installed pack version: " ` pack --version | cut -d ' + ' -f 1 `
90
+ @if [ ` pack --version | cut -d ' + ' -f 1 ` != " $( PACK_VERSION) " ]; then \
92
91
echo " !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" ; \
93
92
echo " WARNING: Expected pack version: $( PACK_VERSION) " ; \
94
93
echo " You may need to upgrade your version of pack! " ; \
You can’t perform that action at this time.
0 commit comments