aboutsummaryrefslogtreecommitdiff
path: root/system/unrtf/unrtf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/unrtf/unrtf.SlackBuild')
-rw-r--r--system/unrtf/unrtf.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/unrtf/unrtf.SlackBuild b/system/unrtf/unrtf.SlackBuild
index ae52e5ff3b998..013f9867247d7 100644
--- a/system/unrtf/unrtf.SlackBuild
+++ b/system/unrtf/unrtf.SlackBuild
@@ -23,6 +23,8 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=unrtf
VERSION=${VERSION:-0.21.9}
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}