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