aboutsummaryrefslogtreecommitdiff
path: root/multimedia/subtitleripper/subtitleripper.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/subtitleripper/subtitleripper.SlackBuild')
-rw-r--r--multimedia/subtitleripper/subtitleripper.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/subtitleripper/subtitleripper.SlackBuild b/multimedia/subtitleripper/subtitleripper.SlackBuild
index 0cb95384d76e4..5a6bd8e75e655 100644
--- a/multimedia/subtitleripper/subtitleripper.SlackBuild
+++ b/multimedia/subtitleripper/subtitleripper.SlackBuild
@@ -24,6 +24,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=subtitleripper
VERSION=${VERSION:-0.3_4}
SRCVER=$(printf $VERSION |sed 's/_/-/')
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}