aboutsummaryrefslogtreecommitdiff
path: root/multimedia/OpenPHT/OpenPHT.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/OpenPHT/OpenPHT.SlackBuild')
-rw-r--r--multimedia/OpenPHT/OpenPHT.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/OpenPHT/OpenPHT.SlackBuild b/multimedia/OpenPHT/OpenPHT.SlackBuild
index 202af7b9df79c..1193fb61b3fd2 100644
--- a/multimedia/OpenPHT/OpenPHT.SlackBuild
+++ b/multimedia/OpenPHT/OpenPHT.SlackBuild
@@ -25,6 +25,8 @@
# (INCLUDING NEGLIGENCE OR 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=OpenPHT
VERSION=${VERSION:-1.8.0.148}
REV=${REV:-573b6d73}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}