aboutsummaryrefslogtreecommitdiff
path: root/development/electron/electron.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/electron/electron.SlackBuild')
-rw-r--r--development/electron/electron.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/electron/electron.SlackBuild b/development/electron/electron.SlackBuild
index 9c995112529fc..e246a509e7ad1 100644
--- a/development/electron/electron.SlackBuild
+++ b/development/electron/electron.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=electron
VERSION=${VERSION:-10.0.0_beta.1}
SRCVER=$(echo $VERSION | tr _ -)
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}