fixing untar issue
git-svn-id: http://google-refine.googlecode.com/svn/trunk@410 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
302c27687c
commit
4626f88836
@ -175,7 +175,7 @@ tool_download() {
|
||||
download $URL $FILE
|
||||
fi
|
||||
if [ ! -d "$DIR" ] ; then
|
||||
if [ "`echo $FILE | sed 's@.*.(tar.gz|tgz)$@@'`" == "" ] ; then
|
||||
if [ "`echo $FILE | sed 's@.*.tar.gz$@@'`" == "" ] ; then
|
||||
tar xzf $FILE || error "Error while expanding $FILE"
|
||||
fi
|
||||
if [ "`echo $FILE | sed 's@.*.zip$@@'`" == "" ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user