devel/common Makefile.common,1.24,1.25
Jeremy Katz (katzj)
fedora-extras-commits at redhat.com
Mon Jun 20 17:05:39 UTC 2005
- Previous message (by thread): extras-buildsys/server client_manager.py,1.18,1.19
- Next message (by thread): rpms/rpmlint/FC-3 rpmlint-confmsg.patch, NONE, 1.1 rpmlint-svcdefault.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 rpmlint-fedora-config, 1.6, 1.7 rpmlint.spec, 1.12, 1.13 sources, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: katzj
Update of /cvs/extras/devel/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8289
Modified Files:
Makefile.common
Log Message:
From: Ville Skyttä <ville.skytta at iki.fi>
Subject: Patch: robustify find-user in Makefile.common
Here's a quick patch for Makefile.common that avoids empty user being
committed to tobuild [1] when one uses a CVS root like:
:ext:@cvs.fedora.redhat.com:/...
[1] https://www.redhat.com/archives/fedora-extras-commits/2005-June/msg01214.html
Index: Makefile.common
===================================================================
RCS file: /cvs/extras/devel/common/Makefile.common,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- Makefile.common 17 Jun 2005 22:03:08 -0000 1.24
+++ Makefile.common 20 Jun 2005 17:05:37 -0000 1.25
@@ -307,7 +307,7 @@
@echo
define find-user
-if [ `cat CVS/Root |grep -c @` -ne 0 ]; then cat CVS/Root |cut -d @ -f 1 | sed 's/:.*://' ; else echo $(USER); fi
+if [ `cat CVS/Root |grep -c [^:]@` -ne 0 ]; then cat CVS/Root |cut -d @ -f 1 | sed 's/:.*://' ; else echo $(USER); fi
endef
USER := $(shell $(find-user))
- Previous message (by thread): extras-buildsys/server client_manager.py,1.18,1.19
- Next message (by thread): rpms/rpmlint/FC-3 rpmlint-confmsg.patch, NONE, 1.1 rpmlint-svcdefault.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 rpmlint-fedora-config, 1.6, 1.7 rpmlint.spec, 1.12, 1.13 sources, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list