Skip to content

Commit 57d7689

Browse files
committed
make: Replace '|&' with '2>&1 |' for older bashes
1 parent 2d94e2e commit 57d7689

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

libys/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ endif
5151
--shared \
5252
-jar $< \
5353
-o $(LIBYS-SO-NAME) \
54-
) |& tee $(LIBYS-BUILD-LOG)
54+
) 2>&1 | tee $(LIBYS-BUILD-LOG)
5555
mv $(LIBYS-SO-BASE) $@
5656
mv $(LIBYS-SO-NAME).h $(LIBYS-SO-NAME).$(YAMLSCRIPT_VERSION).h
5757
ln -fs $(notdir $@) $(LIBYS-SO-APIP)

ys/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ endif
7272
$(NATIVE-OPTS) \
7373
-jar $< \
7474
-o $@ \
75-
) |& tee $(YS-BUILD-LOG)
75+
) 2>&1 | tee $(YS-BUILD-LOG)
7676
ln -fs $(notdir $@) $(@:%-$(YS_VERSION)=%-$(API_VERSION))
7777
ln -fs $(notdir $@) $(@:%-$(YS_VERSION)=%)
7878
touch $@

0 commit comments

Comments
 (0)