Alon Bar-Lev has uploaded a new change for review. Change subject: build: support files with spaces in tarball ......................................................................
build: support files with spaces in tarball Change-Id: I39bbe4f5fa76c4b494ded9586d54fdc0cf6f2156 Signed-off-by: Alon Bar-Lev <[email protected]> --- M Makefile 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/03/7403/1 diff --git a/Makefile b/Makefile index 572e5b2..3b3cbff 100644 --- a/Makefile +++ b/Makefile @@ -148,7 +148,7 @@ tarball: sed -e 's/@PACKAGE_VERSION@/$(RPM_VERSION)/g' \ -e 's/@PACKAGE_RELEASE@/$(RPM_RELEASE_VERSION)/g' $(SPEC_FILE_IN) > $(SPEC_FILE) - tar zcf $(TARBALL) `git ls-files` $(SPEC_FILE) + git ls-files | tar --files-from /proc/self/fd/0 -czf $(TARBALL) $(SPEC_FILE) rm -f $(SPEC_FILE) @echo @echo You can use $(RPMBUILD) -tb $(TARBALL) to produce rpms -- To view, visit http://gerrit.ovirt.org/7403 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I39bbe4f5fa76c4b494ded9586d54fdc0cf6f2156 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
