aboutsummaryrefslogtreecommitdiff
path: root/development/kotlin/kotlin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/kotlin/kotlin.SlackBuild')
-rw-r--r--development/kotlin/kotlin.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/kotlin/kotlin.SlackBuild b/development/kotlin/kotlin.SlackBuild
index 410a39d3c6d81..2bcc7c9491dc1 100644
--- a/development/kotlin/kotlin.SlackBuild
+++ b/development/kotlin/kotlin.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=kotlin
SRCNAM=kotlin-compiler
VERSION=${VERSION:-1.5.20}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}