[PPL-devel] Threes scripts in ppl 0.10.2 that need to be tweaked for Solaris

Dennis Clarke dclarke at blastwave.org
Fri Dec 10 19:12:37 CET 2010


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 at opensolaris.ca  <- Email related to the open source Solaris
dclarke at blastwave.org   <- Email related to open source for Solaris





More information about the PPL-devel mailing list