Your right. I applied the pathc - thanks.
On Sat, 23 Feb 2002 16:54, Paul Balmee wrote:
> Should lines 384 and 432 be changed from:
>
> destination.mkdirs();
>
> to
>
> destination.getParentFile().mkdirs();
>
>
> If so, here's the patch:
>
>
> --- FileUtil.java.orig Fri Feb 22 21:52:02 2002
> +++ FileUtil.java Fri Feb 22 21:52:17 2002
> @@ -381,7 +381,7 @@
> if( destination.getParentFile() != null &&
> !destination.getParentFile().exists() )
> {
> - destination.mkdirs();
> + destination.getParentFile().mkdirs();
> }
>
> //make sure we can write to destination
> @@ -429,7 +429,7 @@
> if( destination.getParentFile() != null &&
> !destination.getParentFile().exists() )
> {
> - destination.mkdirs();
> + destination.getParentFile().mkdirs();
> }
>
> //make sure we can write to destination
--
Cheers,
Pete
-------------------------------------------------
"Sometimes its better to keep your mouth shut and
let people think your an idiot, than to open it
and remove all doubt."
-------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>