mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-07 05:41:13 -05:00
Reduce use of grep
because find can return us the same 240 wanted files.
This commit is contained in:
committed by
Adam Honse
parent
9ac44192bc
commit
cd4004dce2
@@ -60,7 +60,7 @@ DUMMY_LIST=$( grep -hR -e DUMMY_DEVICE_DETECTOR ${CONTROLLER_PATH} | cut -d '('
|
||||
# Create a list of RGBController.cpp classes including path #
|
||||
#-----------------------------------------------------------------------------#
|
||||
echo -e "Creating file list to parse metadata"
|
||||
FILE_LIST=$(find ${CONTROLLER_PATH} | sort | grep RGBController_ | grep cpp)
|
||||
FILE_LIST=$(find ${CONTROLLER_PATH} -name "RGBController_*.cpp" | sort)
|
||||
|
||||
#Check the output of the file_list
|
||||
# echo -e "$FILE_LIST" >> "file_list.txt"
|
||||
|
||||
Reference in New Issue
Block a user