aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-ctl/xmms-ctl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-ctl/xmms-ctl.SlackBuild')
-rw-r--r--audio/xmms-ctl/xmms-ctl.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/xmms-ctl/xmms-ctl.SlackBuild b/audio/xmms-ctl/xmms-ctl.SlackBuild
index 65135b5b4a4d5..f010228917f33 100644
--- a/audio/xmms-ctl/xmms-ctl.SlackBuild
+++ b/audio/xmms-ctl/xmms-ctl.SlackBuild
@@ -25,6 +25,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=xmms-ctl
VERSION=${VERSION:-4158c718}
COMMITVERSION=${COMMITVERSION:-4158c718bf68cd8653a0aee93afe65202e483ef9}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}