Skip to content

Commit da93efa

Browse files
committed
[change] : Change the timing to unmount the working directory
1 parent e418e10 commit da93efa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,12 @@ mount_airootfs () {
181181
# Helper function to run make_*() only one time.
182182
run_once() {
183183
if [[ ! -e "${lockfile_dir}/build.${1}" ]]; then
184+
umount_work
184185
msg_debug "Running ${1} ..."
185186
mount_airootfs
186187
eval "${@}"
187188
mkdir -p "${lockfile_dir}"; touch "${lockfile_dir}/build.${1}"
188-
umount_work
189+
189190
else
190191
msg_debug "Skipped because ${1} has already been executed."
191192
fi

0 commit comments

Comments
 (0)