summaryrefslogtreecommitdiffstats
path: root/graphics/xfishtank/xfishtank.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xfishtank/xfishtank.SlackBuild')
-rw-r--r--graphics/xfishtank/xfishtank.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/xfishtank/xfishtank.SlackBuild b/graphics/xfishtank/xfishtank.SlackBuild
index 8791e9bcd7..017fcfae60 100644
--- a/graphics/xfishtank/xfishtank.SlackBuild
+++ b/graphics/xfishtank/xfishtank.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=xfishtank
VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ case "$( uname -m )" in
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}