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