Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

dirname and basename did not work after linux patch

592815Jan 30 2014 — edited Jan 30 2014

Friends,

We have a shell script  works well before linux (Linux 2.6.32-400.33.2.el5uek x86_64)  patch  last month.

Based on debug issue in

export PLOC=`dirname $0`

export PDIR=`basename $0`

The testing message as

export PLOC=`dirname $0`

dirname: invalid option -- b

Try `dirname --help' for more information.

How to fix this issue?

Thanks

newdba

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 27 2014
Added on Jan 30 2014
3 comments
2,840 views