aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-MusicBrainz-DiscID
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-MusicBrainz-DiscID')
-rw-r--r--perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild b/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild
index e64dcd5fc6ba1..36429deba9925 100644
--- a/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild
+++ b/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild
@@ -18,6 +18,8 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-MusicBrainz-DiscID
VERSION=${VERSION:-0.06}
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}