3 Replies Latest reply: Jan 30, 2014 2:43 PM by 592815 RSS

    dirname and basename did not work after linux patch

    592815

      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