diff options
Diffstat (limited to 'system/supervisor')
-rw-r--r-- | system/supervisor/supervisor.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/system/supervisor/supervisor.SlackBuild b/system/supervisor/supervisor.SlackBuild index 75d08bdd34..3769f38f42 100644 --- a/system/supervisor/supervisor.SlackBuild +++ b/system/supervisor/supervisor.SlackBuild @@ -38,16 +38,13 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 fi TMP=${TMP:-/tmp/SBo} -PKG=${PKG:-$TMP/package-$SRCNAM} +PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} set -eu @@ -70,7 +67,7 @@ rm -f setuptools/*.exe mkdir -p $PKG/etc cat $PRGNAM/skel/sample.conf > $PKG/etc/supervisord.conf.new -python setup.py install --root=$PKG +python2 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION |