aboutsummaryrefslogtreecommitdiff
path: root/system/alacritty/alacritty.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/alacritty/alacritty.SlackBuild')
-rw-r--r--system/alacritty/alacritty.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/alacritty/alacritty.SlackBuild b/system/alacritty/alacritty.SlackBuild
index fa2a7f14629d..64db18b2a48b 100644
--- a/system/alacritty/alacritty.SlackBuild
+++ b/system/alacritty/alacritty.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=alacritty
VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
fi
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}