[Bashburn-info] func/isofunc.sh peculair goings-on
Brought to you by:
bashburn
|
From: Nick W. <ni...@uk...> - 2008-08-31 14:45:29
|
I am a bit confused here over what this function does.
check_for_iso()
{
cd ${BBBURNDIR}
(( $(find ${BBBURNDIR} -iname '*.iso' | wc -l) > 0 ))
}
?
The reason being, while tracing a _not_right_error_message, the
function from the iso menu 'burn iso from CD' reports I already have an
ISO file in my burndir, even though it is empty.
The easy fix is to add in the check to see if the burndir is empty
first, but I am confused why the above function reports true (i.e.
*.iso exists).
cd to burn directory
find /path/to/burndir -iname....
confused?
Nick
--
Free Software Foundation Associate Member 5508
|