summaryrefslogtreecommitdiff
path: root/network/opensmtpd-extras/opensmtpd-extras.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/opensmtpd-extras/opensmtpd-extras.SlackBuild')
-rw-r--r--network/opensmtpd-extras/opensmtpd-extras.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/opensmtpd-extras/opensmtpd-extras.SlackBuild b/network/opensmtpd-extras/opensmtpd-extras.SlackBuild
index daadc911fc..b9ee7b8359 100644
--- a/network/opensmtpd-extras/opensmtpd-extras.SlackBuild
+++ b/network/opensmtpd-extras/opensmtpd-extras.SlackBuild
@@ -19,6 +19,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=opensmtpd-extras
SRCNAM=OpenSMTPD-extras
VERSION=${VERSION:-6.7.1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}