#!/bin/bashif[$# -eq 0 ];thenecho'Qt directory must be specified as argument'exit 1fiif[!-d$1];thenecho'Qt directory not found'exit 1ficd$1rm*find .!-name'5.8'-maxdepth 1 -type d -execrm-rf{} +cd 5.8find .!-name'ios'-maxdepth 1 -type d -execrm-rf{} +cd iosrm-rf docfind .-type f -name'lib*_debug.a'-deletefind .-type f -name'lib*_debug.la'-deletefind .-type f -name'lib*_debug.prl'-deletecd ..cd ..cd ..tar-jcvf Qt5.8.0-mac-ios-min.tar.bz2 $1