Skip to content

Commit 53af47e

Browse files
committed
[fix] : All path of directory is full path
[fix] : Fixed typo [fix] : Fixed tarball error
1 parent 67bd0dc commit 53af47e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,10 +1270,12 @@ lockfile_dir="${build_dir}/lockfile"
12701270
gitrev="$(cd "${script_path}"; git rev-parse --short HEAD)"
12711271

12721272
# Create dir
1273-
for _dir in "${build_dir}" "${cache_dir}" "${airootfs_dir}" "${isofs_dir}" "${lockfile_dir}"; do
1274-
mkdir -p "${_dir}"
1273+
for _dir in build_dir cache_dir airootfs_dir isofs_dir lockfile_dir out_dir; do
1274+
mkdir -p "$(eval "echo \$${_dir}")"
1275+
msg_debug "${_dir} is $(realpath "$(eval "echo \$${_dir}")")"
1276+
eval "${_dir}=\"$(realpath "$(eval "echo \$${_dir}")")\""
12751277
done
1276-
ork_dir="$(realpath "${work_dir}")"
1278+
12771279

12781280
# Set for special channels
12791281
if [[ -d "${channel_dir}.add" ]]; then

0 commit comments

Comments
 (0)