-
Notifications
You must be signed in to change notification settings - Fork 0
/
SETUP.bash
24 lines (22 loc) · 949 Bytes
/
SETUP.bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# @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