-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New SETUP file use for Trixie. Just soutce it!
- Loading branch information
1 parent
72b2bb4
commit fee9554
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |