Skip to content

Commit

Permalink
Merge pull request NixOS#356 from klemensn/gnu-sed
Browse files Browse the repository at this point in the history
Avoid GNU seq(1)
  • Loading branch information
Mic92 authored Dec 7, 2021
2 parents 3039b7c + 5f6cc74 commit fbf108f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ main_scoped_LDFLAGS = $(LDFLAGS_local)

big-dynstr.c: main.c
cat $< > big-dynstr.c
for i in $$(seq 1 2000); do echo "void f$$i(void) { };"; done >> big-dynstr.c
i=1; while [ $$i -le 2000 ]; do echo "void f$$i(void) { };"; i=$$(($$i + 1)); done >> big-dynstr.c

nodist_big_dynstr_SOURCES = big-dynstr.c
big_dynstr_LDADD = -lfoo $(AM_LDADD)
Expand Down

0 comments on commit fbf108f

Please sign in to comment.