aboutsummaryrefslogtreecommitdiff
path: root/audio/qmmp-qt5/qmmp-qt5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/qmmp-qt5/qmmp-qt5.SlackBuild')
-rw-r--r--audio/qmmp-qt5/qmmp-qt5.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/qmmp-qt5/qmmp-qt5.SlackBuild b/audio/qmmp-qt5/qmmp-qt5.SlackBuild
index 5a08ccc7c94df..6f82d1539ee28 100644
--- a/audio/qmmp-qt5/qmmp-qt5.SlackBuild
+++ b/audio/qmmp-qt5/qmmp-qt5.SlackBuild
@@ -19,6 +19,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-qt5
VERSION=${VERSION:-1.3.7}
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}