aboutsummaryrefslogtreecommitdiff
path: root/audio/sbagen/sbagen.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sbagen/sbagen.SlackBuild')
-rw-r--r--audio/sbagen/sbagen.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/sbagen/sbagen.SlackBuild b/audio/sbagen/sbagen.SlackBuild
index 1c0b97638a70d..82a5df8e336c9 100644
--- a/audio/sbagen/sbagen.SlackBuild
+++ b/audio/sbagen/sbagen.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=sbagen
VERSION=${VERSION:-1.4.5}
BUILD=${BUILD:-2}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}