live-build error: basename: invalid option -- '-'
I am trying to use live-build on a squeeze box as follows:
$ lb config -d wheezy -p --archive-areas "main contrib non-free"
--packages "libpetsc3.2-dev libparmetis-dev make wget subversion"
$ sudo lb build
However I get the following error
basename: invalid option -- '-'
Try `basename --help' for more information.
P: Begin unmounting filesystems...
Any ideas as to what's wrong. I also tried the commands on a wheezy box
but again got the same error.
Thanks in advance.