Skip to content

Commit fbf108f

Browse files
authored
Merge pull request #356 from klemensn/gnu-sed
Avoid GNU seq(1)
2 parents 3039b7c + 5f6cc74 commit fbf108f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ main_scoped_LDFLAGS = $(LDFLAGS_local)
8383

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

8888
nodist_big_dynstr_SOURCES = big-dynstr.c
8989
big_dynstr_LDADD = -lfoo $(AM_LDADD)

0 commit comments

Comments
 (0)