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