diff --git a/reset.sh b/reset.sh index f39f9be31..0f69e045a 100755 --- a/reset.sh +++ b/reset.sh @@ -189,13 +189,11 @@ reset_ios() { if $ios7_active ; then if $hardcore ; then echo "* Clearing out old UICatalog download" - run_cmd rm -rf ./sample-code/apps/UICatalog* + run_cmd rm -rf ./sample-code/apps/UICatalog/ fi if [ ! -d "./sample-code/apps/UICatalog" ]; then - echo "* Downloading UICatalog app source" - run_cmd curl -L https://developer.apple.com/library/ios/samplecode/UICatalog/UICatalog.zip -o ./sample-code/apps/UICatalog.zip - run_cmd pushd ./sample-code/apps echo "* Unzipping UICatalog app source" + run_cmd pushd ./sample-code/apps run_cmd unzip UICatalog.zip run_cmd popd fi diff --git a/submodules/sample-code b/submodules/sample-code index e1fc7f45e..4615fe293 160000 --- a/submodules/sample-code +++ b/submodules/sample-code @@ -1 +1 @@ -Subproject commit e1fc7f45ef60364b6799f95c1185cf2abb77b767 +Subproject commit 4615fe293f48c7301c2bedf2cbe747fd5d445583