aboutsummaryrefslogtreecommitdiff
path: root/academic/gp2fasta/gp2fasta.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/gp2fasta/gp2fasta.SlackBuild')
-rw-r--r--academic/gp2fasta/gp2fasta.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/gp2fasta/gp2fasta.SlackBuild b/academic/gp2fasta/gp2fasta.SlackBuild
index 04429f610b3c4..7eb8787969f6a 100644
--- a/academic/gp2fasta/gp2fasta.SlackBuild
+++ b/academic/gp2fasta/gp2fasta.SlackBuild
@@ -26,6 +26,8 @@
# http://kde-look.org/content/show.php/Fasta+icons?content=54012
# Author is Luis-Miguel Rodriguez. Thank you!
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gp2fasta
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}