From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Tue, 2 Sep 2014 11:39:02 +0200 Subject: [Buildroot] [PATCH 1 of 2] check-kernel-headers: mktemp --tmpdir not available on RedHat 5 In-Reply-To: <2c7735c0247a4c83a3c2.1409649945@localhost> References: <2c7735c0247a4c83a3c2.1409649945@localhost> Message-ID: <20140902093902.GA4240@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Thomas, All, On 2014-09-02 11:25 +0200, Thomas De Schampheleire spake thusly: > # HG changeset patch > # User Thomas De Schampheleire > # Date 1407153076 -7200 > # Mon Aug 04 13:51:16 2014 +0200 > # Node ID 2c7735c0247a4c83a3c2ea1d58e74be613465255 > # Parent 6af0c3866b64670bb6d62302b64f3164b1f70fb6 > check-kernel-headers: mktemp --tmpdir not available on RedHat 5 > > mktemp --tmpdir is not available on older Redhat 5 machines. The alternative > that has the same behavior is 'mktemp -t'. > > Signed-off-by: Thomas De Schampheleire Reviewed-by: "Yann E. MORIN" Regards, Yann E. MORIN. > --- > support/scripts/check-kernel-headers.sh | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/support/scripts/check-kernel-headers.sh b/support/scripts/check-kernel-headers.sh > --- a/support/scripts/check-kernel-headers.sh > +++ b/support/scripts/check-kernel-headers.sh > @@ -8,7 +8,7 @@ > HDR_V="${HDR_VER#*.}" > HDR_m="${HDR_V%%.*}" > > -EXEC="$(mktemp --tmpdir check-headers.XXXXXX)" > +EXEC="$(mktemp -t check-headers.XXXXXX)" > > # We do not want to account for the patch-level, since headers are > # not supposed to change for different patchlevels, so we mask it out. > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'