public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
To: linux-mtd@lists.infradead.org
Cc: Mike Frysinger <vapier.adi@gmail.com>
Subject: Re: [PATCH/mtd-utils] Separate '-m' and the mode with a space when invoking 'install'
Date: Thu, 27 Nov 2008 10:55:35 +0100	[thread overview]
Message-ID: <lywsepxzl4.fsf@ensc-virt.intern.sigma-chemnitz.de> (raw)
In-Reply-To: 8bd0f97a0811261744m71593462md64fd363cbdc5062@mail.gmail.com

"Mike Frysinger" <vapier.adi@gmail.com> writes:

>> Some 'install' versions (e.g. this of OpenEmbedded) require
>> the mode to be a separate argument and don't understand the
>> '-m0755' syntax:
>
> then why dont you fix the `install` that comes with OE

Why do you think that this 'install' needs to be fixed?  Although
'install' is not SUSv3, this standard states:

 12.2 Utility Syntax Guidelines
    ...
    Each option and option-argument should be a separate argument,
    except as noted in Utility Argument Syntax , item (2).

When the patch would be more complicated I would agree to assume
the GNU implementation of 'install' but as it is really trivial
to add a single space, the common compatibility rules should be
followed.


> rather than spuriously patching random build systems out there
> ?

At least 'autoconf' and 'imake' handle it correctly:

| INSTALL_DATA = ${INSTALL} -m 644
| #define InstBinFlags -m 0755



Enrico

  reply	other threads:[~2008-11-27 10:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26 13:27 [PATCH/mtd-utils] Separate '-m' and the mode with a space when invoking 'install' Enrico Scholz
2008-11-27  1:44 ` Mike Frysinger
2008-11-27  9:55   ` Enrico Scholz [this message]
2008-12-02  8:39   ` Artem Bityutskiy
2008-12-02  8:13 ` Artem Bityutskiy

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=lywsepxzl4.fsf@ensc-virt.intern.sigma-chemnitz.de \
    --to=enrico.scholz@sigma-chemnitz.de \
    --cc=linux-mtd@lists.infradead.org \
    --cc=vapier.adi@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox