From dea2e9719dbc7b855292e227696497d8a893193b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 07 Oct 2014 13:13:33 -0400 Subject: session_begin(): Check for /prokit/installing --- (limited to 'lib/cmd') diff --git a/lib/cmd/build.sh b/lib/cmd/build.sh index 2a7f5d2..bbcb837 100644 --- a/lib/cmd/build.sh +++ b/lib/cmd/build.sh @@ -80,7 +80,7 @@ cmd_build_main() package_init "${prev_arg}" package_set_substvars "${arch}" "${plat}" - session_begin "${root}" "${prev_arg}" : + session_begin "${root}" "${prev_arg}" : false session_dir="$(session_dir)" build_deps="$(package_get_build_deps "${arch}" "${plat}")" diff --git a/lib/cmd/opkg.sh b/lib/cmd/opkg.sh index 92d4dcb..cc3c623 100644 --- a/lib/cmd/opkg.sh +++ b/lib/cmd/opkg.sh @@ -75,7 +75,7 @@ cmd_opkg_main() . "${root}/etc/os-release" profile_set "${ID}" - session_begin "${root}" . : + session_begin "${root}" . : false session_exec opkg "${@}" session_end diff --git a/lib/cmd/shell.sh b/lib/cmd/shell.sh index 79e8b7a..dfff07f 100644 --- a/lib/cmd/shell.sh +++ b/lib/cmd/shell.sh @@ -36,7 +36,7 @@ cmd_shell_main() . "${root}/etc/os-release" profile_set "${ID}" - session_begin "${root}" . : + session_begin "${root}" . : false if [ ${#} -eq 0 ]; then session_exec /bin/sh printf '\n' -- cgit v0.9.1