aboutsummaryrefslogtreecommitdiff
path: root/academic/bcftools/bcftools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/bcftools/bcftools.SlackBuild')
-rw-r--r--academic/bcftools/bcftools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/bcftools/bcftools.SlackBuild b/academic/bcftools/bcftools.SlackBuild
index 1a1d0797f771f..1021c0d762dda 100644
--- a/academic/bcftools/bcftools.SlackBuild
+++ b/academic/bcftools/bcftools.SlackBuild
@@ -22,6 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bcftools
VERSION=${VERSION:-1.12}
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}