Skip to content

Commit c9e47c1

Browse files
committed
build: finally resolve broken pipe issue
1 parent ad2a662 commit c9e47c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/make/lib/examples/javascript.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ examples-javascript-files: $(NODE_MODULES)
8585
# make examples-random-javascript RANDOM_SELECTION_SIZE=10
8686
#/
8787
examples-random-javascript: $(NODE_MODULES)
88-
$(QUIET) make list-random-lib-pkgs | while read -r pkg; do \
88+
$(QUIET) make -s list-random-lib-pkgs | while read -r pkg; do \
8989
echo ""; \
9090
echo "Running example: $$pkg"; \
9191
NODE_ENV="$(NODE_ENV_EXAMPLES)" \

tools/make/lib/ls/pkgs/lib.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ list-lib-pkgs:
7373
# make list-random-lib-pkgs RANDOM_SELECTION_SIZE=10
7474
#/
7575
list-random-lib-pkgs:
76-
$(QUIET) output=$$(make list-lib-pkgs); echo "$$output" | shuf -n $(RANDOM_SELECTION_SIZE)
76+
$(QUIET) make list-lib-pkgs | sort -R | head -n $(RANDOM_SELECTION_SIZE)
7777

7878
.PHONY: list-random-lib-pkgs

0 commit comments

Comments
 (0)