mirror of
https://github.com/prometheus/prometheus
synced 2024-12-25 16:02:28 +00:00
Makefile: Avoid the use of --transform for tar
This makes it compatible with macos tar as well Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
This commit is contained in:
parent
88ee72dea3
commit
29707b1569
6
Makefile
6
Makefile
@ -90,8 +90,10 @@ endif
|
||||
.PHONY: npm_licenses
|
||||
npm_licenses: ui-install
|
||||
@echo ">> bundling npm licenses"
|
||||
rm -f $(REACT_APP_NPM_LICENSES_TARBALL)
|
||||
find $(UI_NODE_MODULES_PATH) -iname "license*" | tar cfj $(REACT_APP_NPM_LICENSES_TARBALL) --transform 's/^/npm_licenses\//' --files-from=-
|
||||
rm -f $(REACT_APP_NPM_LICENSES_TARBALL) npm_licenses
|
||||
ln -s . npm_licenses
|
||||
find npm_licenses/$(UI_NODE_MODULES_PATH) -iname "license*" | tar cfj $(REACT_APP_NPM_LICENSES_TARBALL) --files-from=-
|
||||
rm -f npm_licenses
|
||||
|
||||
.PHONY: tarball
|
||||
tarball: npm_licenses common-tarball
|
||||
|
Loading…
Reference in New Issue
Block a user