Problem
hack/verify-codegen.sh line 25:
readonly TMP_DIFFROOT="$(mktemp -d ${REPO_ROOT_DIR}/tmpdiffroot.XXXXXX)"
${REPO_ROOT_DIR} is unquoted inside the mktemp argument. If the repository root path contains spaces, the shell splits the argument and mktemp receives the wrong input, causing it to fail or create a temp directory in the wrong location.
Proposed Fix
readonly TMP_DIFFROOT="$(mktemp -d "${REPO_ROOT_DIR}/tmpdiffroot.XXXXXX")"
Problem
hack/verify-codegen.shline 25:${REPO_ROOT_DIR}is unquoted inside themktempargument. If the repository root path contains spaces, the shell splits the argument andmktempreceives the wrong input, causing it to fail or create a temp directory in the wrong location.Proposed Fix