aboutsummaryrefslogtreecommitdiff
path: root/audio/easymp3gain/easymp3gain.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/easymp3gain/easymp3gain.SlackBuild')
-rw-r--r--audio/easymp3gain/easymp3gain.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/easymp3gain/easymp3gain.SlackBuild b/audio/easymp3gain/easymp3gain.SlackBuild
index 8ba5601731a96..c4de0ba455c3c 100644
--- a/audio/easymp3gain/easymp3gain.SlackBuild
+++ b/audio/easymp3gain/easymp3gain.SlackBuild
@@ -22,6 +22,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=easymp3gain
VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-2}
@@ -40,7 +42,6 @@ if ! [[ "$ARCH" = "x86_64" || "$ARCH" = "i386" ]]; then
printf "\nThis won't build on $ARCH.\n\n"; exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}