HBASE-9446 saveVersion.sh spit pushd: not found popd: not found
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1520440 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3f9e1e6c8f
commit
5c7d4bb6aa
|
@ -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>
|
||||
|
|
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue