aboutsummaryrefslogtreecommitdiff
path: root/system/daemontools
diff options
context:
space:
mode:
Diffstat (limited to 'system/daemontools')
-rw-r--r--system/daemontools/daemontools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/daemontools/daemontools.SlackBuild b/system/daemontools/daemontools.SlackBuild
index d75c98cdbbab..c15f1e16fc78 100644
--- a/system/daemontools/daemontools.SlackBuild
+++ b/system/daemontools/daemontools.SlackBuild
@@ -21,6 +21,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=daemontools
VERSION=${VERSION:-0.76}
BUILD=${BUILD:-2}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}