aboutsummaryrefslogtreecommitdiff
path: root/audio/mp3check/mp3check.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mp3check/mp3check.SlackBuild')
-rw-r--r--audio/mp3check/mp3check.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/mp3check/mp3check.SlackBuild b/audio/mp3check/mp3check.SlackBuild
index 701f56db0726a..a8c5dde5b999a 100644
--- a/audio/mp3check/mp3check.SlackBuild
+++ b/audio/mp3check/mp3check.SlackBuild
@@ -21,6 +21,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=mp3check
VERSION=${VERSION:-0.8.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}