NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/46182

The following reply was made to PR misc/46182; it has been noted by GNATS.

From: Martin Husemann <>
Subject: Re: toolchain/46182
Date: Tue, 27 Mar 2012 23:06:28 +0200

 This probably is caused by src/distrib/sets/makesrctars which does a sed
 run on an mtree specification to make sure all simple files get 0664
        ${SED} -e 's:type=file:& mode=0664:' \
                -e 's:type=dir:& mode=0775:' \
 A few lines below it special cases and adds exec permissions.
 Now there are two ways to solve this:
  - add more exceptions to the script, so it creats executable scripts where
  - make sure the whole build does not need to invoke any shell script as
    direct command (but use "sh $script" instaed)
 The latter seems overall preferable, the former needs to be done if any
 exceptions remain.

Home | Main Index | Thread Index | Old Index