On Fri 18.04.2014 at 07:41:16PM +0100, Adam Wellings wrote: > On Fri, 18 Apr 2014, Matthieu Weber wrote: > > >On Thu 17.04.2014 at 11:05:02PM +0100, Adam Wellings wrote: > >>2) mkdir in busybox doesn't support the -v option. I've manually > >>removed this option from the script. Again, I may instead set-up a > >>different resolution. I'll probably wrap mkdir with a a function that > >>"eats" the option. > > > >Good point, I didn't even remember doing that too. But since -v is not > >essential, I don't really care :) > > The only issue is I think -v is not always first. Doesn't make eating > it impossible, just harder. If/when I get it sorted, I'll post the > function here. It might be a few days though.
I posted a patch that exchanges -v and -p and defines MKDIR to be either "mkdir" or "mkdir -v" depending on the presence of busybox, changing the current code to use $MKDIR instead of mkdir. You're welcome to try it out. Parsing the arguments to mkdir to remove "-v" with busybox is more work than it is worth. Matthieu -- (~._.~) Matthieu Weber - [email protected] (~._.~) ( ? ) http://weber.fi.eu.org/ ( ? ) ()- -() public key id : 0x85CB340EFCD5E0B3 ()- -() (_)-(_) "Humor ist, wenn man trotzdem lacht (Otto J. Bierbaum)" (_)-(_) _______________________________________________ Password-Store mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/password-store
