Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitface316

Browse files
authored
chore(provisioner/terraform): allow generating individual modules (#16447)
1 parentacc1e67 commitface316

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

‎provisioner/terraform/testdata/generate.sh

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,23 @@ run() {
5555
exit 0
5656
}
5757

58+
if [["$*"==*" --help"*||"$*"==*" -h"* ]];then
59+
echo"Usage:$0 [module1 module2 ...]"
60+
exit 0
61+
fi
62+
5863
declare -a jobs=()
59-
fordin*/;do
60-
run"$d"&
61-
jobs+=($!)
62-
done
64+
if [[$#-gt 0 ]];then
65+
fordin"$@";do
66+
run"$d"&
67+
jobs+=($!)
68+
done
69+
else
70+
fordin*/;do
71+
run"$d"&
72+
jobs+=($!)
73+
done
74+
fi
6375

6476
err=0
6577
forjobin"${jobs[@]}";do

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp