10 Dec
2010
10 Dec
'10
7:12 p.m.
Minor annoyance but trivial to repair.
The following scripts all should refer to /bin/bash as the shell to execute in. The two utils will fail on Solaris as the "read" function fails with a note about the '-r' option being incorrect. This occurs because the read may be /usr/xpg4/bin/read or it may be /usr/bin/read where the base shell seems to solve all this with an internal function.
Thus :
$ diff configure configure.backup 1c1 < #!/bin/bash ---
#! /bin/sh
$ diff utils/cm_cleaner.sh utils/cm_cleaner.sh.backup 1c1 < #!/bin/bash ---
#!/bin/sh
$ diff utils/cm_splitter.sh utils/cm_splitter.sh.backup 1c1 < #!/bin/bash ---
#!/bin/sh
--
Dennis Clarke
dclarke@opensolaris.ca <- Email related to the open source Solaris
dclarke@blastwave.org <- Email related to open source for Solaris