On Mon, May 17, 2010 at 12:15:50PM +0200, Florian Haas wrote: > On 2010-05-17 12:02, Dejan Muhamedagic wrote: > > Are there bashisms here? I'd rather have them fixed then change > > the shell. You can drop me the output from checkbashisms. > > > > Cheers, > > > > Dejan > > $ checkbashisms ora* > possible bashism in oracle line 234 (should be 'b = a'): > if [ x == "x$ORACLE_HOME" ]; then > possible bashism in oracle line 238 (should be 'b = a'): > if [ x == "x$ORACLE_OWNER" ]; then > possible bashism in oracle line 392 (should be 'b = a'): > if [ "x$dumpdest" == x -o ! -d "$dumpdest" ]; then > possible bashism in oracle line 396 (local -opt): > local -i fcount=`ls -rt $dumpdest | wc -l` > possible bashism in oracle line 399 (local -opt): > local -i fcount2=`ls -rt $dumpdest | wc -l` > possible bashism in oracle line 605 (kill -[0-9] or -[A-Z]): > kill -$sig $* >/dev/null > possible bashism in oralsnr line 161 (should be 'b = a'): > if [ x == "x$ORACLE_HOME" ]; then > possible bashism in oralsnr line 165 (should be 'b = a'): > if [ x == "x$ORACLE_OWNER" ]; then > possible bashism in oralsnr line 285 (kill -[0-9] or -[A-Z]): > kill -$sig $* >/dev/null
Fixed. Thanks! Dejan > > Cheers, > Florian > > _______________________________________________________ > Linux-HA-Dev: [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
