File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ if [ -f /etc/nv_tegra_release ]; then
6161 JETSON_L4T_STRING=$( head -n 1 /etc/nv_tegra_release)
6262 JETSON_L4T_RELEASE=$( echo $JETSON_L4T_STRING | cut -f 2 -d ' ' | grep -Po ' (?<=R)[^;]+' )
6363 # Extract revision + trim trailing zeros to convert 32.5.0 => 32.5 to match git tags
64- JETSON_L4T_REVISION=$( echo $JETSON_L4T_STRING | cut -f 2 -d ' ,' | grep -Po ' (?<=REVISION: )[^;]+' | sed ' s/.0$//g' )
64+ JETSON_L4T_REVISION_LONG=$( echo $JETSON_L4T_STRING | cut -f 2 -d ' ,' | grep -Po ' (?<=REVISION: )[^;]+' )
65+ JETSON_L4T_REVISION=$( echo $JETSON_L4T_REVISION_LONG | sed ' s/.0$//g' )
6566 JETSON_L4T_VERSION=$JETSON_L4T_RELEASE .$JETSON_L4T_REVISION
6667 echo -e " \e[32mJetson L4T version: ${JETSON_L4T_VERSION} \e[0m"
6768else
142143cp ./scripts/Tegra/$TEGRA_SOURCE_SYNC_SH ${sdk_dir} /Tegra
143144
144145# Display NVIDIA license
145- DisplayNvidiaLicense " r${JETSON_L4T_RELEASE} _Release_v${JETSON_L4T_REVISION } "
146+ DisplayNvidiaLicense " r${JETSON_L4T_RELEASE} _Release_v${JETSON_L4T_REVISION_LONG } "
146147
147148# Download NVIDIA source, disregard errors on module tag sync
148149./Tegra/$TEGRA_SOURCE_SYNC_SH -k ${TEGRA_TAG} || true
You can’t perform that action at this time.
0 commit comments