apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57186] /bin/sh dependency
Date Wed, 05 Nov 2014 17:12:24 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=57186

--- Comment #3 from Evan Langlois <uudruid74@gmail.com> ---
Nice - Attaching a file wiped out my comment. Knew I should have saved it.

Anyway, I just wanted to mention that I know its kinda nit-picky but I'm going
through all the software that makes /bin/sh assumptions.  APR is better about
it since it only makes the assumption if /bin/sh is indeed bash at the time its
compiled.  But it creates a file (libtool) that has #!/bin/sh at the top and
uses bourne extensions, in this case +=.  Now if I change my /bin/sh link, I
have to recompile apr.  I plan on doing this anyway since its stores so much
information about my system in that file that I don't know if its safe to have
it dynamically source it at run-time or not.  I'm planning on rebuilding it and
all dependencies of it if I make a change to something like CFLAGS, just to be
safe.

But ... having to recompile a library every time I change a symlink is kinda
annoying.  It would be better if put #!/bin/bash when it used the extensions or
simply never used the extensions at all.  Thats a lot of code to detect which
way it should work and I don't think it will noticeably improve anything by
using the extensions when available.  Someone went through a lot of work to
make this fragile.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message