Fix an issue in do.sh where the 'all' argument didn't work, e.g. for do.sh build all (#299)

This commit is contained in:
Daniel Kelleher 2020-08-21 18:15:45 +02:00 committed by GitHub
parent a7d2bc4324
commit b355a9551c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
do.sh
View File

@ -178,7 +178,7 @@ fi
if [[ $2 == "all" ]]; then
# Perform operation on all projects
for project in */program*; do
if [[ -f "$project"Cargo.toml ]]; then
if [[ -f "$project"/Cargo.toml ]]; then
perform_action "$1" "${project%/}" ${@:3}
else
continue