From d73bd884b193b465ac1cf16cd2ccc53d93b832e9 Mon Sep 17 00:00:00 2001 From: Alex Harley Date: Mon, 24 Jul 2017 10:06:17 +0200 Subject: [PATCH] build: adding additional log lines to setupJ2OBJC --- scripts/setupJ2OBJC.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/setupJ2OBJC.sh b/scripts/setupJ2OBJC.sh index 82e06a1..12f3ae5 100755 --- a/scripts/setupJ2OBJC.sh +++ b/scripts/setupJ2OBJC.sh @@ -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