We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa449cd commit 4041aa6Copy full SHA for 4041aa6
build.sh
@@ -383,16 +383,18 @@ prepare_env() {
383
if [[ -z "$(lsmod | getclm 1 | grep -x "loop")" ]]; then modprobe loop; fi
384
fi
385
386
+ # Create dir
387
+ for _dir in "${build_dir}" "${cache_dir}" "${airootfs_dir}" "${isofs_dir}" "${lockfile_dir}"; do
388
+ mkdir -p "${_dir}"
389
+ done
390
+
391
# Check work dir
392
if [[ "${normwork}" = false ]]; then
393
umount_chroot_advance
394
msg_info "Deleting the contents of ${build_dir}..."
395
_run_cleansh
396
397
- # Create dir
- mkdir -p "${airootfs_dir}" "${cache_dir}"
-
398
# Set gpg key
399
if [[ -n "${gpg_key}" ]]; then
400
gpg --batch --output "${work_dir}/pubkey.gpg" --export "${gpg_key}"
0 commit comments