aboutsummaryrefslogtreecommitdiff
path: root/development/android-studio/android-studio.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/android-studio/android-studio.SlackBuild')
-rw-r--r--development/android-studio/android-studio.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/android-studio/android-studio.SlackBuild b/development/android-studio/android-studio.SlackBuild
index 6df2367bac48..a4f87acb5b7f 100644
--- a/development/android-studio/android-studio.SlackBuild
+++ b/development/android-studio/android-studio.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=android-studio
VERSION=${VERSION:-3.5.0_191.5791312}
BUILD=${BUILD:-1}
@@ -32,7 +34,6 @@ MINORVER=$(echo ${VERSION#*_} | sed 's/_/./')
PKGNAM=android-studio-ide-${MINORVER}-linux.tar.gz
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${TMP}/package-${PRGNAM}
OUTPUT=${OUTPUT:-/tmp}