MissouriMRDT / Autonomy_Software

Useless cat SH-2002
Performance
Major
3 occurrences in this check
Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead
67    -D HAVE_opencv_python3=ON ..
68
69    # Install OpenCV
70    cat /proc/cpuinfo | grep "processor" | wc -l | xargs make -j71    make install
72    ldconfig
73
Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead
67    -D HAVE_opencv_python3=ON ..
68
69    # Install OpenCV
70    cat /proc/cpuinfo | grep "processor" | wc -l | xargs make -j71    make install
72    ldconfig
73
Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead
 4GH_REPOSITORY=$GH_REPOSITORY
 5GH_TOKEN=$GH_TOKEN
 6
 7RUNNER_SUFFIX=$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 5 | head -n 1) 8RUNNER_NAME="Autonomy-${RUNNER_SUFFIX}"
 9
10REG_TOKEN=$(curl -sX POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${GH_TOKEN}" https://api.github.com/repos/${GH_OWNER}/${GH_REPOSITORY}/actions/runners/registration-token | jq .token --raw-output)