aboutsummaryrefslogtreecommitdiff
path: root/audio/pyalsaaudio
diff options
context:
space:
mode:
Diffstat (limited to 'audio/pyalsaaudio')
-rw-r--r--audio/pyalsaaudio/pyalsaaudio.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/pyalsaaudio/pyalsaaudio.SlackBuild b/audio/pyalsaaudio/pyalsaaudio.SlackBuild
index 79b859d86250f..feaafc375761b 100644
--- a/audio/pyalsaaudio/pyalsaaudio.SlackBuild
+++ b/audio/pyalsaaudio/pyalsaaudio.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=pyalsaaudio
VERSION=${VERSION:-0.8.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}