Project

General

Profile

Actions

Bug #17036

closed

Change the Makefile command to find all plugin folder

Added by Félix DALLIDET over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

It is currently:

find -maxdepth 2 -mindepth 1 -name "build.conf" -printf '%h\n' | cut -c3- | xargs echo

But it does not work with CIS since it has multiple layer of makefile in it with the build.conf being in deeper depth

I think we could run instead:

find . -path ./src -prune -o -name "build.conf" -printf '%P\n' | cut -d "/" -f1 | xargs echo

Which assume ./src will always be excluded, and that all plugin will always have their makefile in the first folder layer, which is currently the case.

Actions

Also available in: Atom PDF