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: I9910e972906d388c5791158776beef1f81977f95 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-dwh refs/changes/04/7404/1 diff --git a/Makefile b/Makefile index c240d9a..acb091f 100644 --- a/Makefile +++ b/Makefile @@ -97,7 +97,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/7404 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9910e972906d388c5791158776beef1f81977f95 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-dwh Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
