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