aboutsummaryrefslogtreecommitdiff
path: root/audio/aacplusenc/aacplusenc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/aacplusenc/aacplusenc.SlackBuild')
-rw-r--r--audio/aacplusenc/aacplusenc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/aacplusenc/aacplusenc.SlackBuild b/audio/aacplusenc/aacplusenc.SlackBuild
index 211459a27dcb4..9584775633a97 100644
--- a/audio/aacplusenc/aacplusenc.SlackBuild
+++ b/audio/aacplusenc/aacplusenc.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=aacplusenc
VERSION=${VERSION:-0.17.5}
BUILD=${BUILD:-3}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}