aboutsummaryrefslogtreecommitdiff
path: root/libraries/glfw3/glfw3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/glfw3/glfw3.SlackBuild')
-rw-r--r--libraries/glfw3/glfw3.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/glfw3/glfw3.SlackBuild b/libraries/glfw3/glfw3.SlackBuild
index f3c0436bdbf51..3790f2ce88ff2 100644
--- a/libraries/glfw3/glfw3.SlackBuild
+++ b/libraries/glfw3/glfw3.SlackBuild
@@ -23,6 +23,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=glfw3
SRCNAM=${PRGNAM%3}
VERSION=${VERSION:-3.3.2}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}