extras-buildsys/utils/pushscript epel4-createrepo,1.1,1.2
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Fri Sep 14 20:13:55 UTC 2007
- Previous message (by thread): rpms/python-setuptools/FC-6 .cvsignore, 1.10, 1.11 python-setuptools.spec, 1.11, 1.12 sources, 1.10, 1.11
- Next message (by thread): rpms/fedora-logos/devel fedora-logos.spec, 1.81, 1.82 sources, 1.62, 1.63
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5317
Modified Files:
epel4-createrepo
Log Message:
wildcard protection needed here, too
Index: epel4-createrepo
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/epel4-createrepo,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- epel4-createrepo 14 Sep 2007 19:27:27 -0000 1.1
+++ epel4-createrepo 14 Sep 2007 20:13:53 -0000 1.2
@@ -7,7 +7,10 @@
createrepo = '/usr/bin/createrepo'
yumarch = '/usr/bin/yum-arch'
-args = sys.argv[1:]
+# Protect wildcards from expansion.
+def f(a):
+ return a.replace('*','\*')
+args = map(lambda a: f(a),sys.argv[1:])
cmd = createrepo+' '+' '.join(args)
Utils.run_and_check(cmd)
- Previous message (by thread): rpms/python-setuptools/FC-6 .cvsignore, 1.10, 1.11 python-setuptools.spec, 1.11, 1.12 sources, 1.10, 1.11
- Next message (by thread): rpms/fedora-logos/devel fedora-logos.spec, 1.81, 1.82 sources, 1.62, 1.63
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list