mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
rpmdist.mk, pkg.sh: Fix whitespace handling in HASH file generation
Generating the $(TOPDIR)/HASH file produced a warning for every package file containing a whitespace character. Hopefully, this build fixes the problem, by working on zero-delimited lists of file names Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
ac476f10c2
commit
d78768b8b8
2 changed files with 7 additions and 7 deletions
|
|
@ -21,9 +21,9 @@ LAST_RPM_VERSION ?= $(shell $(PKG_SH_EXE) version \
|
|||
-p $(OS)/$(RPM_ARCH) $(LAST_RPM_VERSION_FILE) read | $(SED) 's/-dev//')
|
||||
RPMBUILD ?= pkgbuild
|
||||
CHECK_CVS_SYNC_BEFORE_RPM_RELEASE ?= true
|
||||
HASH = $(shell $(cvs_files) | \
|
||||
grep -v "CHANGES\|VERSION\|HASH\|MD5SUMS\|_RPM_RUN" | \
|
||||
xargs md5sum | md5sum | $(SED) 's/ .*//')
|
||||
HASH = $(shell $(cvs_files) -z | \
|
||||
grep -vz "CHANGES\|VERSION\|HASH\|MD5SUMS\|_RPM_RUN" | \
|
||||
xargs -0 md5sum | md5sum | $(SED) 's/ .*//')
|
||||
LOCAL_REPO ?= /srv/ftp/pub/local/packages/suse/11.4
|
||||
|
||||
include $(MODDIR)/make/tag-defs.mk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue