more fixes
git-svn-id: http://google-refine.googlecode.com/svn/trunk@412 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
f816a288af
commit
7690f932b7
@ -175,7 +175,7 @@ tool_download() {
|
|||||||
download $URL $FILE
|
download $URL $FILE
|
||||||
fi
|
fi
|
||||||
if [ ! -d "$DIR" ] ; then
|
if [ ! -d "$DIR" ] ; then
|
||||||
if [ "`echo $FILE | sed 's@.*.tar.gz$@@'`" == "" ] ; then
|
if [ "`echo $FILE | sed 's@.*.tar.gz$@@' | sed 's@.*.tgz$@@'`" == "" ] ; then
|
||||||
tar xzf $FILE || error "Error while expanding $FILE"
|
tar xzf $FILE || error "Error while expanding $FILE"
|
||||||
fi
|
fi
|
||||||
if [ "`echo $FILE | sed 's@.*.zip$@@'`" == "" ] ; then
|
if [ "`echo $FILE | sed 's@.*.zip$@@'`" == "" ] ; then
|
||||||
@ -344,10 +344,11 @@ dist() {
|
|||||||
windows_dist() {
|
windows_dist() {
|
||||||
check_macosx
|
check_macosx
|
||||||
dist_prepare
|
dist_prepare
|
||||||
launch4j_prepare
|
|
||||||
get_version $1
|
get_version $1
|
||||||
get_revision
|
get_revision
|
||||||
|
|
||||||
|
launch4j_prepare
|
||||||
|
|
||||||
ANT_PARAMS="-Dlaunch4j.dir=${GRIDWORKS_TOOLS_DIR}/${LAUNCH4J_DIR}"
|
ANT_PARAMS="-Dlaunch4j.dir=${GRIDWORKS_TOOLS_DIR}/${LAUNCH4J_DIR}"
|
||||||
ant windows
|
ant windows
|
||||||
}
|
}
|
||||||
@ -363,10 +364,11 @@ linux_dist() {
|
|||||||
mac_dist() {
|
mac_dist() {
|
||||||
check_macosx
|
check_macosx
|
||||||
dist_prepare
|
dist_prepare
|
||||||
jarbundler_prepare
|
|
||||||
get_version $1
|
get_version $1
|
||||||
get_revision
|
get_revision
|
||||||
|
|
||||||
|
jarbundler_prepare
|
||||||
|
|
||||||
ANT_PARAMS="-Djarbundler.dir=${GRIDWORKS_TOOLS_DIR}/${JARBUNDLER_DIR}"
|
ANT_PARAMS="-Djarbundler.dir=${GRIDWORKS_TOOLS_DIR}/${JARBUNDLER_DIR}"
|
||||||
ant mac
|
ant mac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user