aboutsummaryrefslogtreecommitdiff
path: root/libraries/qwt-qt5/qwt-qt5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/qwt-qt5/qwt-qt5.SlackBuild')
-rw-r--r--libraries/qwt-qt5/qwt-qt5.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/qwt-qt5/qwt-qt5.SlackBuild b/libraries/qwt-qt5/qwt-qt5.SlackBuild
index 4fef68201824..40df28417456 100644
--- a/libraries/qwt-qt5/qwt-qt5.SlackBuild
+++ b/libraries/qwt-qt5/qwt-qt5.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=qwt-qt5
VERSION=${VERSION:-6.1.6}
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}