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:
parent
a7d2bc4324
commit
b355a9551c
2
do.sh
2
do.sh
|
@ -178,7 +178,7 @@ fi
|
||||||
if [[ $2 == "all" ]]; then
|
if [[ $2 == "all" ]]; then
|
||||||
# Perform operation on all projects
|
# Perform operation on all projects
|
||||||
for project in */program*; do
|
for project in */program*; do
|
||||||
if [[ -f "$project"Cargo.toml ]]; then
|
if [[ -f "$project"/Cargo.toml ]]; then
|
||||||
perform_action "$1" "${project%/}" ${@:3}
|
perform_action "$1" "${project%/}" ${@:3}
|
||||||
else
|
else
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue