aboutsummaryrefslogtreecommitdiff
path: root/libraries/libsidplay2/libsidplay2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libsidplay2/libsidplay2.SlackBuild')
-rw-r--r--libraries/libsidplay2/libsidplay2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libsidplay2/libsidplay2.SlackBuild b/libraries/libsidplay2/libsidplay2.SlackBuild
index 08a493de60dc4..24036a9f20884 100644
--- a/libraries/libsidplay2/libsidplay2.SlackBuild
+++ b/libraries/libsidplay2/libsidplay2.SlackBuild
@@ -26,6 +26,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=libsidplay2
VERSION=${VERSION:-2.1.1}
BUILD=${BUILD:-4}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}