On Fri, 18 Apr 2014, Matthieu Weber wrote:

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.

Thanks for that, I'll have a look. If it solves the problem, there's no point in
doing it again.


Parsing the arguments to mkdir to remove "-v" with busybox is more work
than it is worth.

I've installed Bash, so was going to use that.

Thanks,
Adam

_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to