aboutsummaryrefslogtreecommitdiff
path: root/network/nagios
diff options
context:
space:
mode:
Diffstat (limited to 'network/nagios')
-rw-r--r--network/nagios/nagios.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/nagios/nagios.SlackBuild b/network/nagios/nagios.SlackBuild
index 8bb8070bb8ca8..ca7360f0f707a 100644
--- a/network/nagios/nagios.SlackBuild
+++ b/network/nagios/nagios.SlackBuild
@@ -23,6 +23,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=nagios
VERSION=${VERSION:-4.3.4}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ for i in $(echo $DOCROOT | tr "/" " "); do
RELPATH="${RELPATH}../"
done
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}