mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-02-16 23:02:49 +08:00
change make to work with non-bash shells
This commit is contained in:
parent
4adeb6348b
commit
51ae7d1980
2
Makefile
2
Makefile
|
@ -219,7 +219,7 @@ rpm-clean:
|
||||||
rpm: tarball
|
rpm: tarball
|
||||||
$(eval VERSION := $(shell $(GIT) describe --always --tags --dirty))
|
$(eval VERSION := $(shell $(GIT) describe --always --tags --dirty))
|
||||||
$(eval VERSION := $(subst -,_,$(VERSION)))
|
$(eval VERSION := $(subst -,_,$(VERSION)))
|
||||||
$(MKDIR) -p rpmbuild/{BUILD,RPMS,SOURCES}
|
$(MKDIR) -p rpmbuild/BUILD rpmbuild/RPMS rpmbuild/SOURCES
|
||||||
$(SED) 's/__VERSION__/$(VERSION)/g' $(TARGET).spec > \
|
$(SED) 's/__VERSION__/$(VERSION)/g' $(TARGET).spec > \
|
||||||
rpmbuild/SOURCES/$(TARGET).spec
|
rpmbuild/SOURCES/$(TARGET).spec
|
||||||
cp -ar $(TARGET)-$(VERSION).tar.gz rpmbuild/SOURCES
|
cp -ar $(TARGET)-$(VERSION).tar.gz rpmbuild/SOURCES
|
||||||
|
|
Loading…
Reference in New Issue
Block a user