aboutsummaryrefslogtreecommitdiff
path: root/desktop/i3-gaps/i3-gaps.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/i3-gaps/i3-gaps.SlackBuild')
-rw-r--r--desktop/i3-gaps/i3-gaps.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/i3-gaps/i3-gaps.SlackBuild b/desktop/i3-gaps/i3-gaps.SlackBuild
index 5891455772227..dd6f2518b3d7d 100644
--- a/desktop/i3-gaps/i3-gaps.SlackBuild
+++ b/desktop/i3-gaps/i3-gaps.SlackBuild
@@ -27,6 +27,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=i3-gaps
VERSION=${VERSION:-4.19.1}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}