File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ getBootloaderConfig() {
111111 local blconfig_nvmem_path=" "
112112
113113 if [ -f " ${blconfig_alias} " ]; then
114- local blconfig_ofnode_path=" /sys/firmware/devicetree/base" $( tr -cd ' [:print:]' < " ${blconfig_alias} " ) " "
114+ local blconfig_ofnode_path=" /sys/firmware/devicetree/base" $( tr -cd [:print:] < " ${blconfig_alias} " ) " "
115115 local blconfig_ofnode_link=$( find -L /sys/bus/nvmem -samefile " ${blconfig_ofnode_path} " 2> /dev/null)
116116
117117 if [ -e " ${blconfig_ofnode_link} " ]; then
@@ -286,7 +286,7 @@ getBootloaderUpdateVersion() {
286286 match=" .*/pieeprom-[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9].bin"
287287 latest=" $( find " ${FIRMWARE_IMAGE_DIR} /" -maxdepth 1 -type f -size " ${EEPROM_SIZE} c" -regex " ${match} " | sort -r | head -n1) "
288288 if [ -f " ${latest} " ]; then
289- BOOTLOADER_UPDATE_VERSION=$( tr -c ' [:print:]' " \n" < " ${latest} " | sed ' /^BUILD_TIMESTAMP=/s/.*=//p;d' )
289+ BOOTLOADER_UPDATE_VERSION=$( tr -c [:print:] " \n" < " ${latest} " | sed ' /^BUILD_TIMESTAMP=/s/.*=//p;d' )
290290 BOOTLOADER_UPDATE_IMAGE=" ${latest} "
291291 fi
292292}
You can’t perform that action at this time.
0 commit comments