summaryrefslogtreecommitdiff
path: root/libraries/libwebsocketpp/libwebsocketpp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libwebsocketpp/libwebsocketpp.SlackBuild')
-rw-r--r--libraries/libwebsocketpp/libwebsocketpp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libwebsocketpp/libwebsocketpp.SlackBuild b/libraries/libwebsocketpp/libwebsocketpp.SlackBuild
index 4083d86b56..583c9e029a 100644
--- a/libraries/libwebsocketpp/libwebsocketpp.SlackBuild
+++ b/libraries/libwebsocketpp/libwebsocketpp.SlackBuild
@@ -25,6 +25,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SRCNAM=websocketpp
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libwebsocketpp
VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}