Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH 1/3] modinst: wrap long lines in order to enhance cmd_modules_install | Date | Thu, 21 Aug 2014 01:38:10 +0930 |
| |
Jim Davis <jim.epost@gmail.com> writes: > On Tue, Aug 19, 2014 at 11:57 AM, Bertrand Jacquin <beber@meleeweb.net> wrote: >> Note: shouldn't we use 'install -D $(2)/$@ $@' instead of mkdir >> and cp ? > > Will an install with -D in that sense always be available? That's not > a flag in the original (BSD) program, and I did find one SPARC system > -- admittedly an ancient one -- where the install program had a -D > option but it did something else. install isn't listed as a required > program in Documentation/Changes, for that matter.
Yes, we don't count on install. And ISTR that install -D would try to change perms on directories in the path, which can fail if you don't own them and aren't root...
Cheers, Rusty.
| |