hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecl...@apache.org
Subject svn commit: r1520440 - in /hbase/trunk/hbase-common: pom.xml src/saveVersion.sh
Date Thu, 05 Sep 2013 22:05:18 GMT
Author: eclark
Date: Thu Sep  5 22:05:17 2013
New Revision: 1520440

URL: http://svn.apache.org/r1520440
Log:
HBASE-9446 saveVersion.sh spit pushd: not found popd: not found

Modified:
    hbase/trunk/hbase-common/pom.xml
    hbase/trunk/hbase-common/src/saveVersion.sh

Modified: hbase/trunk/hbase-common/pom.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-common/pom.xml?rev=1520440&r1=1520439&r2=1520440&view=diff
==============================================================================
--- hbase/trunk/hbase-common/pom.xml (original)
+++ hbase/trunk/hbase-common/pom.xml Thu Sep  5 22:05:17 2013
@@ -84,7 +84,7 @@
                         <target>
                             <property name="generated.sources" location="${project.build.directory}/generated-sources"/>
 
-                            <exec executable="sh">
+                            <exec executable="bash">
                                 <arg line="${basedir}/src/saveVersion.sh ${project.version}
${generated.sources}/java"/>
                             </exec>
                         </target>

Modified: hbase/trunk/hbase-common/src/saveVersion.sh
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-common/src/saveVersion.sh?rev=1520440&r1=1520439&r2=1520440&view=diff
==============================================================================
--- hbase/trunk/hbase-common/src/saveVersion.sh (original)
+++ hbase/trunk/hbase-common/src/saveVersion.sh Thu Sep  5 22:05:17 2013
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 
 # This file is used to generate the annotation of package info that
 # records the user, url, revision and timestamp.
@@ -20,10 +20,11 @@
 
 unset LANG
 unset LC_CTYPE
+
 version=$1
 outputDirectory=$2
 
-pushd
+pushd .
 cd ..
 
 user=`whoami`



Mime
View raw message