aboutsummaryrefslogtreecommitdiff
path: root/development/lazarus/lazarus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/lazarus/lazarus.SlackBuild')
-rw-r--r--development/lazarus/lazarus.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/lazarus/lazarus.SlackBuild b/development/lazarus/lazarus.SlackBuild
index 75f5ed612a87..bcf5b4fcfc77 100644
--- a/development/lazarus/lazarus.SlackBuild
+++ b/development/lazarus/lazarus.SlackBuild
@@ -21,6 +21,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=lazarus
VERSION=${VERSION:-2.0.6}
BUILD=${BUILD:-1}
@@ -28,7 +30,6 @@ TAG=${TAG:-_SBo}
LCL=${LCL:-gtk2}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}