diff --git a/bin/pack.sh b/bin/pack.sh index 7f928e5..4e29002 100755 --- a/bin/pack.sh +++ b/bin/pack.sh @@ -4,6 +4,8 @@ cd "$(dirname "$0")/.." echo echo -e "\033[1;33m[pack]\033[0m" +test -d dist || { echo "[ERROR] No dist folder; please run bin/dist.sh first." 1>&2; exit 1; } + # Download upx as needed, if available for the current platform. if [ ! -d .upx ] then