aboutsummaryrefslogtreecommitdiff
path: root/multimedia/tovid/tovid.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/tovid/tovid.SlackBuild')
-rw-r--r--multimedia/tovid/tovid.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/tovid/tovid.SlackBuild b/multimedia/tovid/tovid.SlackBuild
index a724bb95b607d..88c94a35d229a 100644
--- a/multimedia/tovid/tovid.SlackBuild
+++ b/multimedia/tovid/tovid.SlackBuild
@@ -17,6 +17,8 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tovid
VERSION=${VERSION:-0.35.2}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}