[tools] Building dstat on RHEL 4 - find . ! -wholename
VK
list-generic at kutty.cc
Wed Mar 21 21:36:50 CET 2007
Hi,
I've never tried building dstat before.
I just tried using the latest one from
http://svn.rpmforge.net/svn/trunk/tools/dstat
on RHEL 4 x86_64 and ran into this prob when I did a 'make rpm' (actually,
I needed asciidoc too, but got past that quickly):
find . ! -wholename '*/.svn*' | pax -d -w -x ustar -s ,^,dstat-0.6.4/, |
bzip2 >../dstat-0.6.4.tar.bz2
find: invalid predicate `-wholename'
---------------
So I changed it in the Makefile to:
---------------
dist: clean
$(MAKE) -C docs dist
find . ! -path '*/.svn*' | pax -d -w -x ustar -s
,^,$(name)-$(version)/, | bzip2 >../$(name)-$(version).tar.bz2
---------------
and that seems to work. I don't know what -wholename is, but I presume
-path is roughly equivalent.
--
VK
More information about the tools
mailing list