Loading etc/scripts/make_module.sh +2 −1 Original line number Diff line number Diff line Loading @@ -115,9 +115,10 @@ if [ "$type" = 2 ]; then command="sed ${opt} \ -e 's/GeometryManager\* geo_manager/std::shared\_ptr\<Detector\> detector/g' \ -e 's/Module(config)/Module\(config\, detector\)/g' \ -e 's/geo_manager_(geo_manager)/detector_(detector)/g' \ -e 's/bindMulti/bindSingle/g' \ -e '/for(auto/d' \ -e 's/geo_manager_(geo_manager)/detector_(detector)/g' \ -e 's/\s\{8\}/\ \ \ \ /' \ -e '/geo_manager_/d' \ -e 's/detector->get/detector_->get/g' \ -e '/ }/d' \ Loading Loading
etc/scripts/make_module.sh +2 −1 Original line number Diff line number Diff line Loading @@ -115,9 +115,10 @@ if [ "$type" = 2 ]; then command="sed ${opt} \ -e 's/GeometryManager\* geo_manager/std::shared\_ptr\<Detector\> detector/g' \ -e 's/Module(config)/Module\(config\, detector\)/g' \ -e 's/geo_manager_(geo_manager)/detector_(detector)/g' \ -e 's/bindMulti/bindSingle/g' \ -e '/for(auto/d' \ -e 's/geo_manager_(geo_manager)/detector_(detector)/g' \ -e 's/\s\{8\}/\ \ \ \ /' \ -e '/geo_manager_/d' \ -e 's/detector->get/detector_->get/g' \ -e '/ }/d' \ Loading