aboutsummaryrefslogtreecommitdiff
path: root/multimedia/plexmediaserver/plexmediaserver.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/plexmediaserver/plexmediaserver.SlackBuild')
-rw-r--r--multimedia/plexmediaserver/plexmediaserver.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/plexmediaserver/plexmediaserver.SlackBuild b/multimedia/plexmediaserver/plexmediaserver.SlackBuild
index 36c65151d8f1f..8de9407f49364 100644
--- a/multimedia/plexmediaserver/plexmediaserver.SlackBuild
+++ b/multimedia/plexmediaserver/plexmediaserver.SlackBuild
@@ -27,6 +27,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=plexmediaserver
VERSION=${VERSION:-1.22.2.4282_a97b03fad}
PKG_VERSION=$(echo $VERSION | tr _ -)
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}