We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f140b5e commit 7f3d7ceCopy full SHA for 7f3d7ce
common/test/keyboards/build.sh
@@ -36,6 +36,7 @@ function zipsource() {
36
}
37
38
function build_index() {
39
+ local active_targets=($*)
40
cat << EOF > index.html
41
<!DOCTYPE html>
42
<html>
@@ -48,7 +49,7 @@ function build_index() {
48
49
<ul>
50
EOF
51
- for TARGET in "${targets[@]}"; do
52
+ for TARGET in "${active_targets[@]}"; do
53
if builder_has_option --zip-source; then
54
echo " <li><a href='$TARGET/build/$TARGET.kmp'>$TARGET.kmp</a> (<a href='$TARGET/${TARGET}_source.zip'>source</a>)</li>" >> index.html
55
else
@@ -87,7 +88,7 @@ function build() {
87
88
fi
89
90
if builder_has_option --index; then
- build_index
91
+ build_index "${active_targets[@]}"
92
93
94
0 commit comments