OSDN Git Service

[fix] : fullpath work_dir
authorhayao <hayao@fascode.net>
Fri, 9 Apr 2021 12:31:49 +0000 (21:31 +0900)
committerhayao <hayao@fascode.net>
Fri, 9 Apr 2021 12:31:49 +0000 (21:31 +0900)
build.sh

index a7983de..7567044 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -342,6 +342,7 @@ check_bool() {
 # Check the build environment and create a directory.
 prepare_env() {
     # Set dirs
+    work_dir="$(realpath "${work_dir}")"
     build_dir="${work_dir}/build"
     cache_dir="${work_dir}/cache/${arch}"
     airootfs_dir="${build_dir}/${arch}/airootfs"