summaryrefslogtreecommitdiff
path: root/academic/latex2html/latex2html.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/latex2html/latex2html.SlackBuild')
-rw-r--r--academic/latex2html/latex2html.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/latex2html/latex2html.SlackBuild b/academic/latex2html/latex2html.SlackBuild
index 38bc8110fc..71deb5c48b 100644
--- a/academic/latex2html/latex2html.SlackBuild
+++ b/academic/latex2html/latex2html.SlackBuild
@@ -22,6 +22,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=latex2html
VERSION=${VERSION:-2020}
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}