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

View File

@ -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