All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: yocto@yoctoproject.org
Subject: Re: [meta-baryon][PATCH] webmin: remove use of the rename command
Date: Mon, 23 Jul 2012 23:05:11 +0100	[thread overview]
Message-ID: <1834364.U4PpHaFIdH@helios> (raw)
In-Reply-To: <1343066397-22369-1-git-send-email-kevin.strasser@linux.intel.com>

On Monday 23 July 2012 10:59:57 Kevin Strasser wrote:
> Several webmin modules are left out of the build due to
> misuse of the rename command. Acceptable use of the rename
> command depends on the version being supplied. Without knowledge
> of the version being used it is possible that any particular
> use will result in syntax errors.
> 
> Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
> ---
>  recipes-extended/webmin/webmin_1.570.bb |    6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-extended/webmin/webmin_1.570.bb
> b/recipes-extended/webmin/webmin_1.570.bb index 63a1ed2..d7e14de 100644
> --- a/recipes-extended/webmin/webmin_1.570.bb
> +++ b/recipes-extended/webmin/webmin_1.570.bb
> @@ -53,7 +53,11 @@ do_configure() {
>      sed -i "s/netstd_nfs/nfsserver/" exports/config-generic-linux
> 
>      # Fix insane naming that causes problems at packaging time (must be
> done before deleting below) -    find . -name "*\**" -exec rename \* ALL {}
> \;
> +    find . -name "*\**" | while read from
> +    do
> +        to=`echo "$from" | sed "s/*/ALL/"`
> +        mv "$from" "$to"
> +    done
> 
>      # Remove some other files we don't need
>      find . -name "config-*" -a \! -name "config-generic-linux" -a \! -name
> "config-ALL-linux" -a \! -name "*.pl" -delete

Merged to meta-baryon master with a PR bump, thanks.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


      reply	other threads:[~2012-07-23 22:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-23 17:59 [meta-baryon][PATCH] webmin: remove use of the rename command Kevin Strasser
2012-07-23 22:05 ` Paul Eggleton [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=1834364.U4PpHaFIdH@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=yocto@yoctoproject.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.