DEPS=() for i in $(ls -1 $(echo $BUILD_FILE_PATH | rev | cut -d/ -f3- | rev)/*/*.xibuild); do name=$(basename -s .xibuild $i) DEPS=(${DEPS[@]} $name) done DESC="AlL tHe pacKageS!!!"