From: Ben Hutchings <ben@decadent.org.uk>
To: Sedat Dilek <sedat.dilek@gmail.com>
Cc: maximilian attems <max@stro.at>, Thorsten Glaser <tg@debian.org>,
Alexander Wirt <formorer@debian.org>,
Michal Marek <mmarek@suse.cz>,
linux-kbuild@vger.kernel.org
Subject: Re: [RFC] builddeb: Try to determine distribution
Date: Fri, 02 Jan 2015 20:24:17 +0000 [thread overview]
Message-ID: <1420230257.5686.127.camel@decadent.org.uk> (raw)
In-Reply-To: <1420229669-5550-1-git-send-email-sedat.dilek@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 580 bytes --]
On Fri, 2015-01-02 at 21:14 +0100, Sedat Dilek wrote:
[...]
> --- a/scripts/package/builddeb
> +++ b/scripts/package/builddeb
> @@ -217,9 +217,21 @@ else
> fi
> maintainer="$name <$email>"
>
> +# Try to determine distribution
> +codename=$(lsb_release --codename --short)
[...]
This needs a '2> /dev/null' to suppress error messages when lsb_release
is missing (or doesn't support the options).
Ben.
--
Ben Hutchings
Theory and practice are closer in theory than in practice.
- John Levine, moderator of comp.compilers
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
prev parent reply other threads:[~2015-01-02 20:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-02 20:14 [RFC] builddeb: Try to determine distribution Sedat Dilek
2015-01-02 20:21 ` maximilian attems
2015-01-02 20:29 ` Sedat Dilek
2015-01-02 20:24 ` Ben Hutchings [this message]
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=1420230257.5686.127.camel@decadent.org.uk \
--to=ben@decadent.org.uk \
--cc=formorer@debian.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=max@stro.at \
--cc=mmarek@suse.cz \
--cc=sedat.dilek@gmail.com \
--cc=tg@debian.org \
/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.