mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
Merge pull request #11721 from roidelapluie/macmake
Makefile: Avoid the use of --transform for tar
This commit is contained in:
commit
e1d23c5532
6
Makefile
6
Makefile
|
@ -90,8 +90,10 @@ endif
|
||||||
.PHONY: npm_licenses
|
.PHONY: npm_licenses
|
||||||
npm_licenses: ui-install
|
npm_licenses: ui-install
|
||||||
@echo ">> bundling npm licenses"
|
@echo ">> bundling npm licenses"
|
||||||
rm -f $(REACT_APP_NPM_LICENSES_TARBALL)
|
rm -f $(REACT_APP_NPM_LICENSES_TARBALL) npm_licenses
|
||||||
find $(UI_NODE_MODULES_PATH) -iname "license*" | tar cfj $(REACT_APP_NPM_LICENSES_TARBALL) --transform 's/^/npm_licenses\//' --files-from=-
|
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
|
.PHONY: tarball
|
||||||
tarball: npm_licenses common-tarball
|
tarball: npm_licenses common-tarball
|
||||||
|
|
Loading…
Reference in a new issue