hadoop-yarn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r1408992 - /hadoop/common/branches/branch-trunk-win/hadoop-yarn-project/pom.xml
Date Tue, 13 Nov 2012 22:22:50 GMT
Author: suresh
Date: Tue Nov 13 22:22:50 2012
New Revision: 1408992

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

Modified:
    hadoop/common/branches/branch-trunk-win/hadoop-yarn-project/pom.xml

Modified: hadoop/common/branches/branch-trunk-win/hadoop-yarn-project/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-trunk-win/hadoop-yarn-project/pom.xml?rev=1408992&r1=1408991&r2=1408992&view=diff
==============================================================================
--- hadoop/common/branches/branch-trunk-win/hadoop-yarn-project/pom.xml (original)
+++ hadoop/common/branches/branch-trunk-win/hadoop-yarn-project/pom.xml Tue Nov 13 22:22:50
2012
@@ -181,11 +181,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