#!/bin/bash set -e cd "$(dirname "$0")" ZIP="driver-manager-v1.0.0.zip" rm -f "$ZIP" zip -r9 "$ZIP" \ module.prop \ customize.sh \ post-fs-data.sh \ service.sh \ system.prop \ system/ \ webroot/ \ -x "*.git*" "build.sh" "tools/*" "README*" echo "Built: $ZIP ($(du -h "$ZIP" | cut -f1))"