summaryrefslogtreecommitdiffstats
path: root/src/cmd/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/build.sh')
-rw-r--r--src/cmd/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/build.sh b/src/cmd/build.sh
index 3c40c3c..6b85fad 100644
--- a/src/cmd/build.sh
+++ b/src/cmd/build.sh
@@ -70,7 +70,7 @@ cmd_build_main()
cmd_build_pkg_dir="${arg}"
done
- profile_set "$(. "${root}/etc/os-release" && printf '%s' "${ID}")"
+ profile_detect "${root}"
if ! [ -d "${cmd_build_pkg_dir}" ]; then
error 2 "$(get_msg 'cmd_build_not_a_dir')" \