You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-commits@hadoop.apache.org by su...@apache.org on 2012/11/13 23:22:50 UTC

svn commit: r1408992 - /hadoop/common/branches/branch-trunk-win/hadoop-yarn-project/pom.xml

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: