All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Robert Yang <liezhi.yang@windriver.com>,
	 openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/2] file: fix perl reported as awk
Date: Mon, 14 Jul 2014 11:05:28 -0700	[thread overview]
Message-ID: <53C41BE8.2080508@linux.intel.com> (raw)
In-Reply-To: <5912151dc1b33e4b1c156e50d02e3a426fb880ad.1405043280.git.liezhi.yang@windriver.com>

On 07/10/2014 06:51 PM, Robert Yang wrote:
> The awk pattern was checked *before* the Perl pattern, so the perl
> script with BEGIN{...} would be reported as awk, this patch fixes it.
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>   .../recipes-devtools/file/file/debian-742262.patch |   16 ++++++++++++++++
>   meta/recipes-devtools/file/file_5.18.bb            |    4 +++-
>   2 files changed, 19 insertions(+), 1 deletion(-)
>   create mode 100644 meta/recipes-devtools/file/file/debian-742262.patch
>
> diff --git a/meta/recipes-devtools/file/file/debian-742262.patch b/meta/recipes-devtools/file/file/debian-742262.patch
> new file mode 100644
> index 0000000..5cfe380
> --- /dev/null
> +++ b/meta/recipes-devtools/file/file/debian-742262.patch
> @@ -0,0 +1,16 @@
> +The awk pattern was checked *before* the Perl pattern, so the perl
> +script with BEGIN{...} would be reported as awk, this patch fixes it.
> +
> +Upstream-Status: Backport [debian]
> +

Missing the Signed-off-by here also.

Sau!

> +diff --git a/magic/Magdir/commands b/magic/Magdir/commands
> +--- a/magic/Magdir/commands
> ++++ b/magic/Magdir/commands
> +@@ -50,6 +50,7 @@
> + 0	string/wt	#!\ /usr/bin/awk	awk script text executable
> + !:mime	text/x-awk
> + 0	regex		=^\\s{0,100}BEGIN\\s{0,100}[{]	awk script text
> ++!:strength - 12
> +
> + # AT&T Bell Labs' Plan 9 shell
> + 0	string/wt	#!\ /bin/rc	Plan 9 rc shell script text executable
> diff --git a/meta/recipes-devtools/file/file_5.18.bb b/meta/recipes-devtools/file/file_5.18.bb
> index a7db410..ba61f22 100644
> --- a/meta/recipes-devtools/file/file_5.18.bb
> +++ b/meta/recipes-devtools/file/file_5.18.bb
> @@ -13,7 +13,9 @@ DEPENDS_class-native = "zlib-native"
>
>   SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \
>              file://dump \
> -           file://filesystems"
> +           file://filesystems \
> +           file://debian-742262.patch \
> +          "
>
>   SRC_URI[md5sum] = "d420d8f2990cd344673acfbf8d76ff5a"
>   SRC_URI[sha256sum] = "6519fb706d583231c2419592ebecdbb21d33c62eaf7a1a0b24ddfcb80c08bf07"
>


  reply	other threads:[~2014-07-14 18:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-11  1:51 [PATCH 0/2] file: fix perl reported as awk Robert Yang
2014-07-11  1:51 ` [PATCH 1/2] " Robert Yang
2014-07-14 18:05   ` Saul Wold [this message]
2014-07-15  2:21     ` Robert Yang
2014-07-11  1:51 ` [PATCH 2/2] file: remove dump and filesystems Robert Yang

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=53C41BE8.2080508@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=liezhi.yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.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.