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