changeset in /hg/icedtea: 2007-12-13 Gary Benson <gbenson at redh...

Gary Benson gbenson at redhat.com
Thu Dec 13 08:02:26 PST 2007


changeset 5a1b5513f90a in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=5a1b5513f90a
description:
	2007-12-13  Gary Benson  <gbenson at redhat.com>

		* contrib/templater/generate.py (preprocess): Remove a PPCism.

diffstat:

2 files changed, 7 insertions(+), 1 deletion(-)
ChangeLog                     |    4 ++++
contrib/templater/generate.py |    4 +++-

diffs (25 lines):

diff -r 055d32cf277f -r 5a1b5513f90a ChangeLog
--- a/ChangeLog	Thu Dec 13 10:57:51 2007 -0500
+++ b/ChangeLog	Thu Dec 13 11:01:59 2007 -0500
@@ -1,3 +1,7 @@ 2007-12-13  Gary Benson  <gbenson at redhat
+2007-12-13  Gary Benson  <gbenson at redhat.com>
+
+	* contrib/templater/generate.py (preprocess): Remove a PPCism.
+
 2007-12-13  Gary Benson  <gbenson at redhat.com>
 
 	* contrib/templater/*: Imported changes from PPC port.
diff -r 055d32cf277f -r 5a1b5513f90a contrib/templater/generate.py
--- a/contrib/templater/generate.py	Thu Dec 13 10:57:51 2007 -0500
+++ b/contrib/templater/generate.py	Thu Dec 13 11:01:59 2007 -0500
@@ -97,7 +97,9 @@ def preprocess(src, cpu):
             assert False
 
     assert mode == [COPY]
-    return dst.replace("_LP64", "PPC64")
+    if cpu == "PPC":
+        dst = dst.replace("_LP64", "PPC64")
+    return dst
 
 def untabify(line):
     bits = line.split("\t")



More information about the distro-pkg-dev mailing list