Keep commands within the 'chroot-shell' directory

Reduces clutter.
This commit is contained in:
david 2020-12-08 18:58:20 +00:00
parent 8b218188c6
commit 57c6caf0d3
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
set -Eeuo pipefail set -Eeuo pipefail
# Check and set environment, and mount file system. # Check and set environment, and mount file system.
. ./_do_self_checks.sh . chroot-shell/_do_self_checks.sh
cd $FILE_SYSTEM_DIR cd $FILE_SYSTEM_DIR
if [ ! -z "$CHROOT_MOUNT_SET" ]; then if [ ! -z "$CHROOT_MOUNT_SET" ]; then

View File

@ -3,7 +3,7 @@
# Check the environment and mount the file system if it is not mounted (to be # Check the environment and mount the file system if it is not mounted (to be
# sure it makes sense to umount it, rather than be umounting something else). # sure it makes sense to umount it, rather than be umounting something else).
. ./_do_self_checks.sh . chroot-shell/_do_self_checks.sh
( (
# If the file system had been mounted before _do_self_checks.sh, above, # If the file system had been mounted before _do_self_checks.sh, above,