GOTCHA in Ubuntu - broken shell
Bill McGonigle
bill at bfccomputing.com
Fri Sep 28 17:19:30 EDT 2007
On Sep 28, 2007, at 14:53, Bill Sconce wrote:
> /bin/sh: Syntax error: Bad substitution
I ran into this earlier, Oracle distributes:
#!/bin/sh
scripts with their installers that use bash functions and bork on
Solaris's sh with substitutions.
export FOO=bar
even fails.
They also hardcode in the developer's home directory in their start
scripts, which you have to fix to even star their database product.
This was reported over two years ago and the version you download
today still has vikrkuma's home directory hard-coded! Compare that
with Ubuntu. :)
So who has a tool that scans your scripts for bash-isms?
-Bill
-----
Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
bill at bfccomputing.com Cell: 603.252.2606
http://www.bfccomputing.com/ Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf
More information about the gnhlug-discuss
mailing list