Fixed directory issues in the setup script

This commit is contained in:
LexManos 2012-03-05 20:01:04 -08:00
parent 66cac8ea7d
commit 1c77b62704
1 changed files with 7 additions and 5 deletions

View File

@ -17,12 +17,14 @@ if [ -d src ] ; then
if [ "$var" != "y" ]; then exit ; fi
fi
if [ ! -f ../runtime/bin/fernflower.jar ]
if [ ! -f ./runtime/bin/fernflower.jar ]
then
pushd forge
python download_fernflower.py
popd
fi
if [ ! -f ../runtime/bin/fernflower.jar ]
if [ ! -f ./runtime/bin/fernflower.jar ]
then
echo "Failed to download fernflower, install it manually and re-run setup."
exit 1