commit 2bd5e0f25d3092921b388ab92da885032675209d parent 2e61359d50cf4fbee6e0880e33a59e9b66634676 Author: SomberNight <somber.night@protonmail.com> Date: Thu, 13 Sep 2018 23:29:44 +0200 packaging: check in make_tgz if packages folder exists related: #4714 Diffstat:
M | contrib/make_tgz | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/contrib/make_tgz b/contrib/make_tgz @@ -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