17 Oct
2001
17 Oct
'01
2:08 p.m.
Oleg Broytmann wrote:
patch -p0 < ../Patches/*
Wrong. Shell will expand it as
patch -p0 < ../Patches/Patch1 ../Patches/Patch2
and oops... shell syntax error.
Indeed, you're right. So this:: patch -p0 < ../Patches/* will only work if there is only one patch. For more than one patch, one could do this:: find ../Patches/ -exec patch -p0 -i \{\} \; but that's a long way from the ZenFromZopeCoders page .. Which makes me wonder again if Evan uses a different version of 'patch'? Jean
8938
Age (days ago)
8938
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jean Jordaan