Skip to content

Commit

Permalink
New SETUP file use for Trixie. Just soutce it!
Browse files Browse the repository at this point in the history
  • Loading branch information
marctessier committed Jul 15, 2024
1 parent 72b2bb4 commit fee9554
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions TRIXIE_SETUP.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# @file SETUP.bash
# @brief Source this file to add the Portage Cluster Utils tools to your PATH in place.
#
# This configuration script is a convenient alternative that can be used to puth
# the scripts on your PATH in place instead of running "make install" inside
# src/scripts
#
# @author Eric Joanis
#
# Traitement multilingue de textes / Multilingual Text Processing
# Technologies numériques / Digital Technologies
# Conseil national de recherches Canada / National Research Council Canada
# Copyright 2021, Sa Majeste le Roi du Chef du Canada /
# Copyright 2021, His Majesty the King in Right of Canada

echo "PortageClusterUtils, NRC-CNRC, (c) 2005 - 2022, His Majesty the King in Right of Canada" >&2

SOURCE="${BASH_SOURCE[0]}"
if [[ -h $SOURCE ]]; then
SOURCE=$(readlink -f $SOURCE)
fi
BASE_DIR="$( cd "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
echo "PortageClusterUtils path: $BASE_DIR" >&2
export PATH=$BASE_DIR/bin:$PATH

export CC_CLUSTER=trixie

0 comments on commit fee9554

Please sign in to comment.