From: Mike F. <va...@ge...> - 2010-06-28 20:05:16
|
On Monday, June 28, 2010 15:53:11 Garrett Cooper wrote: > On Mon, Jun 28, 2010 at 4:52 AM, Subrata Modak wrote: > > + if [ $ALT_DMESG_OUT -eq 1 ] ; then > > + PWD=`pwd` > > Please use a different variable name. This obfuscates the meaning of > the shell set value. use a `find` as i suggested and changing dir isnt necessary. it replaces the entire body of the if statement. -mike |