From b355a9551cf867164abfbd3035564af22a191f77 Mon Sep 17 00:00:00 2001 From: Daniel Kelleher Date: Fri, 21 Aug 2020 18:15:45 +0200 Subject: [PATCH] Fix an issue in do.sh where the 'all' argument didn't work, e.g. for do.sh build all (#299) --- do.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/do.sh b/do.sh index 2b568457894..671c8bfa46e 100755 --- a/do.sh +++ b/do.sh @@ -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