aboutsummaryrefslogtreecommitdiff
path: root/system/ack/ack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ack/ack.SlackBuild')
-rw-r--r--system/ack/ack.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/ack/ack.SlackBuild b/system/ack/ack.SlackBuild
index 867dd4df02bec..1416f1da2dc40 100644
--- a/system/ack/ack.SlackBuild
+++ b/system/ack/ack.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)
+
PRGNAM=ack
VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}