bintron-r1.eclass: skip node_modules
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
2cd963ac33
commit
3165825161
@ -144,6 +144,12 @@ bintron-r1_src_install() {
|
|||||||
|
|
||||||
local file type
|
local file type
|
||||||
for file in $(find .); do
|
for file in $(find .); do
|
||||||
|
|
||||||
|
# node_modules *shouldn't* have anything which requires executable permissions
|
||||||
|
if [[ ${file} =~ /node_modules/ ]]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
type=$(file -b --mime-type "${file}")
|
type=$(file -b --mime-type "${file}")
|
||||||
|
|
||||||
case ${type} in
|
case ${type} in
|
||||||
|
Loading…
Reference in New Issue
Block a user