Merge pull request #2138 from eviweb/fix-projects-plugin-regression

fix projects plugin regression
This commit is contained in:
Noah Gorny
2022-03-16 21:54:51 +02:00
committed by GitHub

View File

@@ -21,7 +21,7 @@ function pj() {
# with the same name in project directories # with the same name in project directories
IFS=':' read -ra dests <<< "${BASH_IT_PROJECT_PATHS?${FUNCNAME[0]}: project working folders must be configured}" IFS=':' read -ra dests <<< "${BASH_IT_PROJECT_PATHS?${FUNCNAME[0]}: project working folders must be configured}"
for d in "${!dests[@]}"; do for d in "${!dests[@]}"; do
if [[ ! -d "${dests[d]}" ]]; then if [[ ! -d "${dests[d]}/${proj}" ]]; then
unset 'dests[d]' unset 'dests[d]'
fi fi
done done