Santizie project names in header because why not
This commit is contained in:
@@ -345,6 +345,13 @@ print_header() {
|
||||
unset response arr i
|
||||
fi
|
||||
|
||||
for i in "${!PROJECTS[@]}"; do
|
||||
if ! sanitize_pn "${PROJECTS[i]}"; then
|
||||
echo "Project name ${PROJECTS[i]} is invalid"
|
||||
ask_pn && unset "PROJECTS[i]" && PROJECTS+=("${ADD_PROJECTS[@]}")
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ -z ${MODULES[*]} && -z ${EXCLUDE_MODULES[*]} ]]; then
|
||||
echo "Enter module #'s to run (by #, comma delimited)"
|
||||
((YES)) || read -r -p "Or hit Enter for default (ALL): " response
|
||||
|
||||
Reference in New Issue
Block a user