[projects/pld-builder.new] - escape apostrophes in builder options

baggins baggins at pld-linux.org
Mon Oct 28 13:59:37 CET 2013


commit 082db7e61dd05404eec4d1b805ae7bc343a7228e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Oct 28 13:58:59 2013 +0100

    - escape apostrophes in builder options

 PLD_Builder/srpm_builder.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/PLD_Builder/srpm_builder.py b/PLD_Builder/srpm_builder.py
index 0815782..5fccf5e 100644
--- a/PLD_Builder/srpm_builder.py
+++ b/PLD_Builder/srpm_builder.py
@@ -98,7 +98,7 @@ def build_srpm(r, b):
     status.push("building %s" % b.spec)
 
     b.src_rpm = ""
-    builder_opts = "-nu -nm --nodeps --http --define '_pld_builder 1'"
+    builder_opts = "-nu -nm --nodeps --http --define \'_pld_builder 1\'"
     if ("test-build" in r.flags):
                     tag_test=""
     else:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/082db7e61dd05404eec4d1b805ae7bc343a7228e



More information about the pld-cvs-commit mailing list