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