hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r1408989 - in /hadoop/common/branches/branch-trunk-win/hadoop-mapreduce-project: CHANGES.branch-trunk-win.txt pom.xml
Date Tue, 13 Nov 2012 22:20:14 GMT
Author: suresh
Date: Tue Nov 13 22:20:13 2012
New Revision: 1408989

URL: http://svn.apache.org/viewvc?rev=1408989&view=rev
Log:
MAPREDUCE-4790. MapReduce build script would be more readable using abspath. Contributed by
Chris Nauroth.

Modified:
    hadoop/common/branches/branch-trunk-win/hadoop-mapreduce-project/CHANGES.branch-trunk-win.txt
    hadoop/common/branches/branch-trunk-win/hadoop-mapreduce-project/pom.xml

Modified: hadoop/common/branches/branch-trunk-win/hadoop-mapreduce-project/CHANGES.branch-trunk-win.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-trunk-win/hadoop-mapreduce-project/CHANGES.branch-trunk-win.txt?rev=1408989&r1=1408988&r2=1408989&view=diff
==============================================================================
--- hadoop/common/branches/branch-trunk-win/hadoop-mapreduce-project/CHANGES.branch-trunk-win.txt
(original)
+++ hadoop/common/branches/branch-trunk-win/hadoop-mapreduce-project/CHANGES.branch-trunk-win.txt
Tue Nov 13 22:20:13 2012
@@ -5,3 +5,6 @@ branch-trunk-win changes - unreleased
 
   MAPREDUCE-4780. MapReduce distribution build fails on Windows.
   (Chris Nauroth via suresh)
+
+  MAPREDUCE-4790. MapReduce build script would be more readable using abspath.
+  (Chris Nauroth via suresh)

Modified: hadoop/common/branches/branch-trunk-win/hadoop-mapreduce-project/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-trunk-win/hadoop-mapreduce-project/pom.xml?rev=1408989&r1=1408988&r2=1408989&view=diff
==============================================================================
--- hadoop/common/branches/branch-trunk-win/hadoop-mapreduce-project/pom.xml (original)
+++ hadoop/common/branches/branch-trunk-win/hadoop-mapreduce-project/pom.xml Tue Nov 13 22:20:13
2012
@@ -182,11 +182,11 @@
                 <!-- This script preserves permissions and symlinks. -->
                 <!-- Python requires resetting indentation to far left. -->
                 <echo file="${project.build.directory}/dist-maketar.py">
-from os.path import join, normpath
+from os.path import abspath, join
 import tarfile
 
 base_name = "${project.artifactId}" + "-" + "${project.version}"
-dir_name = normpath(join(r"${project.build.directory}", base_name))
+dir_name = abspath(join(r"${project.build.directory}", base_name))
 tar_name = dir_name + ".tar.gz"
 
 with tarfile.open(tar_name, "w:gz") as tar:



Mime
View raw message