aboutsummaryrefslogtreecommitdiff
path: root/system/tm/tm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/tm/tm.SlackBuild')
-rw-r--r--system/tm/tm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/tm/tm.SlackBuild b/system/tm/tm.SlackBuild
index e2f9ffee0e035..4ab79b2e668be 100644
--- a/system/tm/tm.SlackBuild
+++ b/system/tm/tm.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=tm
VERSION=${VERSION:-20180206}
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}