summaryrefslogtreecommitdiffstats
path: root/multimedia/plex-home-theater/plex-home-theater.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/plex-home-theater/plex-home-theater.SlackBuild')
-rw-r--r--multimedia/plex-home-theater/plex-home-theater.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/plex-home-theater/plex-home-theater.SlackBuild b/multimedia/plex-home-theater/plex-home-theater.SlackBuild
index 7122e521d9..16ba8fb527 100644
--- a/multimedia/plex-home-theater/plex-home-theater.SlackBuild
+++ b/multimedia/plex-home-theater/plex-home-theater.SlackBuild
@@ -24,6 +24,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=plex-home-theater
VERSION=${VERSION:-1.4.1.469}
REV=${REV:-47a90f01}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}