3 # First argument is the path to the kernel headers.
8 if [ -f "${KPATH}/localversion-rt" ]; then
9 VERSIONFILE
="${KPATH}/localversion-rt"
11 elif [ -f "${KPATH}/source/localversion-rt" ]; then
12 VERSIONFILE
="${KPATH}/source/localversion-rt"
18 RT_PATCH_VERSION
=$
(sed -rn 's/^-rt([0-9]+)$/\1/p' "${VERSIONFILE}")
20 if [ "x${RT_PATCH_VERSION}" = "x" ]; then
25 echo ${RT_PATCH_VERSION}
This page took 0.030274 seconds and 4 git commands to generate.