Hi all, In our embedded rootfs we have both /bin/sh provided by busybox (i.e. a true sh) and also a /bin/bash compiled from bash.
This causes a pain as typically full systems use a symlink from sh to bash. This breaks runltp (and probably other scritps) as they use getopts which I *think* is technically a bash-only builtin? I've currently re-written the hashbangs before copying to the system. For those googling I did : find . -type f | xargs perl -pi -e 's/bin\/sh/bin\/bash/g' I can't get my head around what a 'neat' solution would be other than rewriting all to bash but I'm guessing that isn't a favoured choice for most people? I would expect a fair response would be "don't do odd things with your target" ;-) Cheers, ~Pev ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
