packaging: check in make_tgz if packages folder exists

related: #4714
This commit is contained in:
SomberNight 2018-09-13 23:29:44 +02:00
parent 2e61359d50
commit 2bd5e0f25d
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9

View File

@ -1 +1,11 @@
#!/bin/bash
contrib=$(dirname "$0")
packages="$contrib"/../packages/
if [ ! -d "$packages" ]; then
echo "Run make_packages first!"
exit 1
fi
python3 setup.py sdist --format=zip,gztar