1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net/cvsupchk/files/patch-spaces-in-filenames
Rong-En Fan 53bd74128e - Support file names that contains blanks
PR:		ports/105264
Submitted by:	Rudolf Cejka, Brno University of Technology, Brno, Czech Republic
Approved by:	Matthias Andree (maintainer)
2006-11-08 23:38:52 +00:00

15 lines
407 B
Plaintext

This patch by Rudolf Cejka aims to fix cvsupchk for names
that contain spaces. -- Matthias Andree, 2006-11-07
--- cvsupchk.orig Tue Oct 31 14:51:57 2006
+++ cvsupchk Tue Oct 31 14:57:47 2006
@@ -396,6 +396,8 @@
c = string.split(l)
+ c[1] = string.replace(c[1], "\_", " ")
+
if c[0] not in [ 'C', 'c', 'D', 'F', 'U', 'V', 'v' ]:
diag_fatal('Unrecognized line: "%s"' % l[0:-1])