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