From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] build: fix umask test
Date: Mon, 30 May 2016 10:05:58 +0200 [thread overview]
Message-ID: <87inxw2cnt.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <87mvn82d50.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Mon, 30 May 2016 09:55:39 +0200")
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
Hi,
> It seems we need to use the base#number syntax, E.G. 8#`umask` to get
> zsh to interprete it as octal, but bash doesn't seem to like it :/
> But the real question is why this happens in the first place? We do set
> SHELL=bash, so all of this should be running under bash where it works.
Sorry, I misremembered. This logic is above the line where we assign
bash to SHELL, so it runs with /bin/sh as shell. On my system, this is
dash and it behaves like bash in this regard. What shell do you use?
In any case, I think the proper fix is to simply move the SHELL= line
above here to ensure we get consistent results.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2016-05-30 8:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-30 7:06 [Buildroot] [PATCH] build: fix umask test Kurt Van Dijck
2016-05-30 7:55 ` Peter Korsgaard
2016-05-30 8:05 ` Peter Korsgaard [this message]
2016-05-30 9:17 ` Thomas Petazzoni
2016-05-30 9:53 ` Kurt Van Dijck
2016-05-30 9:59 ` Peter Korsgaard
2016-05-30 21:09 ` Kurt Van Dijck
2016-05-30 21:31 ` Arnout Vandecappelle
2016-05-31 7:43 ` Kurt Van Dijck
2016-05-31 7:48 ` Peter Korsgaard
2016-05-31 9:35 ` Kurt Van Dijck
2016-05-30 9:56 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87inxw2cnt.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.