File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060
6161
6262# ################
63+ # REPM
6364# Bin script installation
6465# The installation is done by cloning the repo to a well-known location.
6566# ################
67+ echo " "
68+ echo " Repo manager: "
6669export REPM_PREFIX=" REPM"
6770REPM_DIR_VAR_NAME=" ${REPM_PREFIX} _${ORGANISATION_ENV_NAME} _DIR"
6871export REPM_DIR
6972REPM_DIR=" ${! REPM_DIR_VAR_NAME:- } "
7073if [ " $REPM_DIR " != " " ]; then
71- repm_echo_yellow " $REPM_DIR_VAR_NAME variable found with the value $REPM_DIR "
74+ echo " Repo Directory : $REPM_DIR (from var $REPM_DIR_VAR_NAME ) "
7275else
73- REPM_DIR=" $PWD /../repo-manager"
74- repm_echo_yellow " $REPM_DIR_VAR_NAME variable not found. Value set to : $REPM_DIR "
76+ REPM_DIR=$( realpath " $PWD /../repo-manager" )
77+ echo " Repo Directory : $REPM_DIR (default) "
7578fi
76- REPM_DIR=$( realpath " ${REPM_DIR} " )
7779if [ ! -d " $REPM_DIR " ]; then
7880
7981 repm_echo_yellow " REPM_DIR ($REPM_DIR ) does not exist."
9193# Exit if the repo was not installed
9294if [ -d " $REPM_DIR " ]; then
9395
94- # ################
95- # REPM
96- # ################
97- echo " "
98- echo " Repo manager: "
99- echo " Repo Directory : $REPM_DIR "
100-
10196 # ################
10297 # Bin
10398 # ################
You can’t perform that action at this time.
0 commit comments