aboutsummaryrefslogtreecommitdiff
path: root/network/sickrage/sickrage.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/sickrage/sickrage.SlackBuild')
-rw-r--r--network/sickrage/sickrage.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/sickrage/sickrage.SlackBuild b/network/sickrage/sickrage.SlackBuild
index 28cfd1eed02f..cc535fd05313 100644
--- a/network/sickrage/sickrage.SlackBuild
+++ b/network/sickrage/sickrage.SlackBuild
@@ -21,6 +21,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=sickrage
SRCNAM=SickRage
VERSION=${VERSION:-2018.09.17_1}
@@ -52,7 +54,6 @@ elif ! grep ^$SICKUSER: /etc/passwd 2>&1 > /dev/null; then
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}