summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/n/dovecot/dovecot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/n/dovecot/dovecot.SlackBuild')
-rwxr-xr-xslackware64-current/source/n/dovecot/dovecot.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/slackware64-current/source/n/dovecot/dovecot.SlackBuild b/slackware64-current/source/n/dovecot/dovecot.SlackBuild
index c8a5d1962..d31d6ee4c 100755
--- a/slackware64-current/source/n/dovecot/dovecot.SlackBuild
+++ b/slackware64-current/source/n/dovecot/dovecot.SlackBuild
@@ -22,6 +22,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)
+
PKGNAM=dovecot
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-2}
@@ -36,7 +38,6 @@ fi
NUMJOBS=${NUMJOBS:-" -j7 "}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
OUTPUT=${OUTPUT:-/tmp}