Move R path to install_dependencies

This commit is contained in:
2024-08-04 21:52:32 -04:00
parent 7ea809e442
commit 735cd99644

View File

@@ -355,18 +355,17 @@ interactive_header() {
| |_| | _ | | || |___| __/ | |_| | _ | | || |___| __/
\__\_|_| |_| |_| \____|_| \__\_|_| |_| |_| \____|_|
EOF Scans directory: $SCANS_DIR
Output directory: $OUT_DIR
Change the SCANS_DIR or OUT_DIR environment variable(s) to override
Example: SCANS_DIR=/path/to/scans OUT_DIR=/path/to/out ./qhtcp-workflow $*
echo "Scans directory: $SCANS_DIR" EOF
echo "Output directory: $OUT_DIR"
echo "Change the SCANS_DIR or OUT_DIR environment variable(s) to override"
echo "Example: SCANS_DIR=/path/to/scans OUT_DIR=/path/to/out ./qhtcp-workflow $*"
echo ""
underline=$(tput smul) underline=$(tput smul)
nounderline=$(tput rmul) nounderline=$(tput rmul)
echo "${underline}Available Modules${nounderline}" echo "${underline}Modules${nounderline}"
# Determine if we need two columns # Determine if we need two columns
if [[ ${#ALL_MODULES[@]} -gt 8 ]]; then if [[ ${#ALL_MODULES[@]} -gt 8 ]]; then
# Calculate the number of elements in each column # Calculate the number of elements in each column
@@ -409,7 +408,7 @@ interactive_header() {
fi fi
echo "" echo ""
echo "${underline}Available Submodules${nounderline}" echo "${underline}Submodules${nounderline}"
# Determine if we need two columns # Determine if we need two columns
if [[ ${#ALL_SUBMODULES[@]} -gt 8 ]]; then if [[ ${#ALL_SUBMODULES[@]} -gt 8 ]]; then
# Calculate the number of elements in each column # Calculate the number of elements in each column
@@ -461,7 +460,7 @@ interactive_header() {
echo "No projects found in $SCANS_DIR" echo "No projects found in $SCANS_DIR"
ask_pn && PROJECTS+=("${ADD_PROJECTS[@]}") ask_pn && PROJECTS+=("${ADD_PROJECTS[@]}")
else else
echo "${underline}Available Projects${nounderline}" echo "${underline}Projects (scans)${nounderline}"
projects=("${projects[@]%/}") # strip comma first! projects=("${projects[@]%/}") # strip comma first!
projects=("${projects[@]##*/}") projects=("${projects[@]##*/}")