User: Password:
|
|
Subscribe / Log in / New account

[PATCH] Don't use shell quoting characters in release name.

From:  Peter Jones <pjones-AT-redhat.com>
To:  Dennis Gilmore <dennis-AT-ausil.us>
Subject:  [PATCH] Don't use shell quoting characters in release name.
Date:  Tue, 19 Mar 2013 11:57:45 -0400
Message-ID:  <1363708665-2545-1-git-send-email-pjones@redhat.com>
Cc:  Development discussions related to Fedora <devel-AT-lists.fedoraproject.org>, Peter Jones <pjones-AT-redhat.com>
Archive-link:  Article

While this doesn't solve unicode-releated problems with /etc/os-release
or /etc/fedora-release, for example, it does mean that we won't have
problems with parsing this through shell scripts, which we do quite
often.

Signed-off-by: Peter Jones <pjones@redhat.com>
---
 fedora-release.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fedora-release.spec b/fedora-release.spec
index 408feff..0791715 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -1,4 +1,4 @@
-%define release_name Schrödinger's Cat
+%define release_name Schrödinger’s Cat
 %define dist_version 19
 
 Summary:	Fedora release files
-- 
1.8.1.4

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

(Log in to post comments)

I also posted an alternate option:

Posted Apr 4, 2013 14:45 UTC (Thu) by pjones (subscriber, #31722) [Link]

Date: Tue, 19 Mar 2013 13:50:39 -0400
From: Peter Jones <pjones-AT-redhat.com>
To: Peter Robinson <pbrobinson-AT-gmail.com>
Cc: devel-AT-lists.fedoraproject.org, Peter Jones <pjones-AT-redhat.com>
Message-Id: <1363715439-4715-1-git-send-email-pjones@redhat.com>
Subject: [PATCH] Why not Zoidberg?

This fixes all of our problems with punctuation and unicode.  It may
introduce other problems.
---
 fedora-release.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fedora-release.spec b/fedora-release.spec
index 0791715..43eed3e 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -1,4 +1,4 @@
-%define release_name Schrödinger’s Cat
+%define release_name Zoidberg
 %define dist_version 19

 Summary:       Fedora release files
--
1.8.1.4


Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds