Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D4EFA9182 for ; Tue, 5 Mar 2013 00:14:27 +0000 (UTC) Received: (qmail 68340 invoked by uid 500); 5 Mar 2013 00:14:27 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 68294 invoked by uid 500); 5 Mar 2013 00:14:27 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 68287 invoked by uid 99); 5 Mar 2013 00:14:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 00:14:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 00:14:26 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 6310E23889DE for ; Tue, 5 Mar 2013 00:14:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1452607 - /hadoop/common/branches/branch-trunk-win/hadoop-project-dist/pom.xml Date: Tue, 05 Mar 2013 00:14:07 -0000 To: common-commits@hadoop.apache.org From: suresh@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130305001407.6310E23889DE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: suresh Date: Tue Mar 5 00:14:05 2013 New Revision: 1452607 URL: http://svn.apache.org/r1452607 Log: HADOOP-9356. Remove remaining references to cygwin/cygpath from scripts. Contributed by Chris Nauroth. Modified: hadoop/common/branches/branch-trunk-win/hadoop-project-dist/pom.xml Modified: hadoop/common/branches/branch-trunk-win/hadoop-project-dist/pom.xml URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-trunk-win/hadoop-project-dist/pom.xml?rev=1452607&r1=1452606&r2=1452607&view=diff ============================================================================== --- hadoop/common/branches/branch-trunk-win/hadoop-project-dist/pom.xml (original) +++ hadoop/common/branches/branch-trunk-win/hadoop-project-dist/pom.xml Tue Mar 5 00:14:05 2013 @@ -335,13 +335,7 @@ - - which cygpath 2> /dev/null - if [ $? != 0 ]; then - BUILD_DIR="${project.build.directory}" - else - BUILD_DIR=`cygpath --unix '${project.build.directory}'` - fi + BUILD_DIR="${project.build.directory}" TAR='tar cf -' UNTAR='tar xfBp -' LIB_DIR="${BUILD_DIR}/native/target/usr/local/lib" @@ -379,14 +373,7 @@ - - which cygpath 2> /dev/null - if [ $? != 0 ]; then - BUILD_DIR="${project.build.directory}" - else - BUILD_DIR=`cygpath --unix '${project.build.directory}'` - fi - cd ${BUILD_DIR} + cd "${project.build.directory}" tar cf - ${project.artifactId}-${project.version} | gzip > ${project.artifactId}-${project.version}.tar.gz