bintron-r1.eclass: skip node_modules

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-03-01 04:22:59 +02:00
parent 2cd963ac33
commit 3165825161
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
1 changed files with 6 additions and 0 deletions

View File

@ -144,6 +144,12 @@ bintron-r1_src_install() {
local file type
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}")
case ${type} in