diff --git a/scripts/build-udev-rules.sh b/scripts/build-udev-rules.sh index a30dc8e5..f87f5664 100755 --- a/scripts/build-udev-rules.sh +++ b/scripts/build-udev-rules.sh @@ -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"