Hi
If mkoctfile is used incorrectly, it can fail with a cryptic error message:

octave:1> mkoctfile -c
basename: missing operand
Try `basename --help' for more information.

This can easily be solved by adding the following lines after the option
processing (i.e. after the "done")

if [ -z "$octfile" ]; then
  echo $usage_msg 1>&2
  exit 1
fi


Thanks

Kris

PS: there seems also a misspelling in the flag processing of -o. It says 
"-o | -ouput | --output)"


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to