File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -83,13 +83,13 @@ git_commit
8383echo " "
8484
8585# Update APT repository information
86- sudo apt update
86+ sudo -E apt update
8787APT_UPDATE_RESULT=" ${?} "
8888if [[ " ${APT_UPDATE_RESULT} " != " 0" ]]; then
8989 echo " Unable to update APT repository information." > " ${MSG_FILE} "
9090 echo " ...." >> " ${REPORT_FILE} "
9191 echo " Halting." >> " ${REPORT_FILE} "
92- echo " Tried 'sudo apt update'." >> " ${REPORT_FILE} "
92+ echo " Tried 'sudo -E apt update'." >> " ${REPORT_FILE} "
9393 echo " Got a non-zero exit code: ${APT_RESULT} ." >> " ${REPORT_FILE} "
9494 echo " $( cat " ${MSG_FILE} " ) "
9595 echo " $( cat " ${REPORT_FILE} " ) "
102102fi
103103
104104# Install APT dependencies.
105- sudo apt install -y \
105+ sudo -E apt install -y \
106106 qemu \
107107 binutils-arm-linux-gnueabi \
108108 gcc-arm-linux-gnueabi \
You can’t perform that action at this time.
0 commit comments