summaryrefslogtreecommitdiff
path: root/system/supervisor/supervisor.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/supervisor/supervisor.SlackBuild')
-rw-r--r--system/supervisor/supervisor.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/supervisor/supervisor.SlackBuild b/system/supervisor/supervisor.SlackBuild
index add0e43720..7b23d20135 100644
--- a/system/supervisor/supervisor.SlackBuild
+++ b/system/supervisor/supervisor.SlackBuild
@@ -20,6 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=supervisor
VERSION=${VERSION:-3.3.4}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$SRCNAM}
OUTPUT=${OUTPUT:-/tmp}