Commit a162f35b authored by Fredrik Fornwall's avatar Fredrik Fornwall Committed by Jason Madden

Invoke 'sh' instead of '/bin/sh' in deps setup

This makes building work on platforms lacking /bin/sh.
parent 1ddfadce
...@@ -40,7 +40,7 @@ else: ...@@ -40,7 +40,7 @@ else:
ares_configure_command = ' '.join([ ares_configure_command = ' '.join([
"(cd ", quoted_dep_abspath('c-ares'), "(cd ", quoted_dep_abspath('c-ares'),
" && if [ -r ares_build.h ]; then cp ares_build.h ares_build.h.orig; fi ", " && if [ -r ares_build.h ]; then cp ares_build.h ares_build.h.orig; fi ",
" && /bin/sh ./configure --disable-dependency-tracking " + _m32 + "CONFIG_COMMANDS= ", " && sh ./configure --disable-dependency-tracking " + _m32 + "CONFIG_COMMANDS= ",
" && cp ares_config.h ares_build.h \"$OLDPWD\" ", " && cp ares_config.h ares_build.h \"$OLDPWD\" ",
" && mv ares_build.h.orig ares_build.h)", " && mv ares_build.h.orig ares_build.h)",
"> configure-output.txt"]) "> configure-output.txt"])
......
...@@ -30,7 +30,7 @@ LIBEV_EMBED = should_embed('libev') ...@@ -30,7 +30,7 @@ LIBEV_EMBED = should_embed('libev')
# and the PyPy branch will clean it up. # and the PyPy branch will clean it up.
libev_configure_command = ' '.join([ libev_configure_command = ' '.join([
"(cd ", quoted_dep_abspath('libev'), "(cd ", quoted_dep_abspath('libev'),
" && /bin/sh ./configure ", " && sh ./configure ",
" && cp config.h \"$OLDPWD\"", " && cp config.h \"$OLDPWD\"",
")", ")",
'> configure-output.txt' '> configure-output.txt'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment