Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
build: adding additional log lines to setupJ2OBJC
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Harley committed Jul 24, 2017
1 parent 9e1431d commit d73bd88
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/setupJ2OBJC.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,23 @@ echo '# J2OBJC End' >> $DIRECTORY/../local.properties;
mkdir -p $J2OBJC_ROOT;
pushd $J2OBJC_ROOT;
if [ ! -f "$J2OBJC_ROOT/j2objc-$J2OBJCVersion.zip" ]; then
echo "wget -q --retry-connrefused --waitretry=1 https://github.com/google/j2objc/releases/download/$J2OBJCVersion/j2objc-$J2OBJCVersion.zip"
wget -q --retry-connrefused --waitretry=1 https://github.com/google/j2objc/releases/download/$J2OBJCVersion/j2objc-$J2OBJCVersion.zip
else
rm -rf $J2OBJC_ROOT/j2objc-$J2OBJCVersion
echo 'j2objc already downloaded';
fi

echo "Looking at dir contents"
pwd
ls

echo 'unzipping';
unzip -q j2objc-$J2OBJCVersion.zip; popd

pwd
ls

if [ $1 ]; then
rm -rf j2objc-$J2OBJCVersion.zip;
fi

0 comments on commit d73bd88

Please sign in to comment.