summaryrefslogtreecommitdiff
path: root/system/tpc/tpc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/tpc/tpc.SlackBuild')
-rw-r--r--system/tpc/tpc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/tpc/tpc.SlackBuild b/system/tpc/tpc.SlackBuild
index 57fc4fe5a1..18dd51cd65 100644
--- a/system/tpc/tpc.SlackBuild
+++ b/system/tpc/tpc.SlackBuild
@@ -19,6 +19,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=tpc
VERSION=${VERSION:-0.44rc2}
RC_VERSION=${RC_VERSION:-0.44-rc2}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}