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