Skip to content

Commit abb256e

Browse files
committed
Simulation mode doesn't use _exit_code local variable
Fix below CI Filed. https://github.com/FascodeNet/alterlinux/actions/runs/4922900814/jobs/8794133356 ``` ./tools/fullbuild.sh:88:25: warning: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten. [SC2320] ```
1 parent ac652c6 commit abb256e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tools/fullbuild.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ build() {
8585
if [[ ! -e "${fullbuild_dir}/fullbuild.${cha}_${arch}_${lang}" ]]; then
8686
if [[ "${simulation}" = true ]]; then
8787
echo "sudo bash build.sh ${_options[*]}"
88-
_exit_code="${?}"
8988
else
9089
msg_info "Build the ${lang} version of ${cha} on the ${arch} architecture."
9190
sudo bash "${script_path}/build.sh" "${_options[@]}"

0 commit comments

Comments
 (0)