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