Skip to content

Commit 449bab1

Browse files
committed
chore: making the Makefile change a bit more readable
1 parent 2d1a918 commit 449bab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ $(BINARY_WRAPPER_DIR)/src/generated/version: $(BINARY_WRAPPER_DIR)/src/generated
183183
$(BINARY_WRAPPER_DIR)/src/generated/sha256sums.txt:
184184
@echo "-- Generating $(@F)"
185185
@mkdir -p $(dir $@)
186-
@ls $(BINARY_OUTPUT_FOLDER)/*.sha256 2>/dev/null | xargs cat > $@ 2>/dev/null || echo "# No sha256 files found yet" > $@
186+
@{ cat $(BINARY_OUTPUT_FOLDER)/*.sha256 2>/dev/null || echo "# No sha256 files found yet"; } > $@
187187

188188
.PHONY: build-binary-wrapper
189189
build-binary-wrapper: pre-build-binary-wrapper $(BINARY_WRAPPER_DIR)/src/generated/version $(BINARY_WRAPPER_DIR)/src/generated/sha256sums.txt

0 commit comments

Comments
 (0)