aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vobsub2srt/vobsub2srt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vobsub2srt/vobsub2srt.SlackBuild')
-rw-r--r--multimedia/vobsub2srt/vobsub2srt.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/vobsub2srt/vobsub2srt.SlackBuild b/multimedia/vobsub2srt/vobsub2srt.SlackBuild
index f985cd8c1db82..40aac6a9a1f97 100644
--- a/multimedia/vobsub2srt/vobsub2srt.SlackBuild
+++ b/multimedia/vobsub2srt/vobsub2srt.SlackBuild
@@ -22,6 +22,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=vobsub2srt
SRCNAM=VobSub2SRT
VERSION=${VERSION:-1.0pre7}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}