aboutsummaryrefslogtreecommitdiff
path: root/multimedia/aegisub/aegisub.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/aegisub/aegisub.SlackBuild')
-rw-r--r--multimedia/aegisub/aegisub.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/aegisub/aegisub.SlackBuild b/multimedia/aegisub/aegisub.SlackBuild
index 1d9ff5bf64f5..0e015ea3cd89 100644
--- a/multimedia/aegisub/aegisub.SlackBuild
+++ b/multimedia/aegisub/aegisub.SlackBuild
@@ -20,6 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUTPUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aegisub
VERSION=${VERSION:-3.2.2}
BUILD=${BUILD:-2}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}