Am 04.01.2005 um 19:34 schrieb Christian Laursen:

We are starting to migrate stuff to FreeBSD 5 and one of my shell
scripts broke because rmdir -p doesn't work in 5.3.

It would be really nice to have the fix from CURRENT merged to
RELENG_5 and possibly even RELENG_5_3 if possible.

Appending /. to the path seems to work for me: $ find . . $ mkdir -p foo/bar/baz $ rmdir -p foo/bar/baz rmdir: foo/bar: Directory not empty $ find . . ./foo ./foo/bar ./foo/bar/baz $ rmdir -p foo/bar/baz/. $ find . .


Stefan

--
Stefan Bethke <[EMAIL PROTECTED]>   Fon +49 170 346 0140

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to