aboutsummaryrefslogtreecommitdiff
path: root/audio/qmmp/qmmp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/qmmp/qmmp.SlackBuild')
-rw-r--r--audio/qmmp/qmmp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/qmmp/qmmp.SlackBuild b/audio/qmmp/qmmp.SlackBuild
index 043ab1df120da..a7f95f4f99445 100644
--- a/audio/qmmp/qmmp.SlackBuild
+++ b/audio/qmmp/qmmp.SlackBuild
@@ -20,6 +20,8 @@
# (INCLUDING NEGLIGENCE OR 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=qmmp
VERSION=${VERSION:-0.12.10}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}