aboutsummaryrefslogtreecommitdiff
path: root/libraries/qutepart/qutepart.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/qutepart/qutepart.SlackBuild')
-rw-r--r--libraries/qutepart/qutepart.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/qutepart/qutepart.SlackBuild b/libraries/qutepart/qutepart.SlackBuild
index c5fb4e1002499..2896d81ef8f04 100644
--- a/libraries/qutepart/qutepart.SlackBuild
+++ b/libraries/qutepart/qutepart.SlackBuild
@@ -23,6 +23,8 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qutepart
VERSION=${VERSION:-2.2.3}
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}