set -Ceu
SCRIPT_NAME=$0
+cd "$(dirname "${SCRIPT_NAME}")"
# constants unlikely to change
NAME_DEV=dev
#!/bin/sh
-. ./_lib.sh
+. "$(dirname "$0")/_lib.sh"
# inputs to confirm
usage $# "partition" "root-name" "command"
#!/bin/sh
-. ./_lib.sh
+. "$(dirname "$0")/_lib.sh"
# constants unlikely to change
FNAME_INITRD=initrd.img
#!/bin/sh
-. ./_lib.sh
+. "$(dirname "$0")/_lib.sh"
# inputs to confirm
usage $# "partition"
#!/bin/sh
-cd "$(dirname "$0")" || exit
-. ./_lib.sh
+. "$(dirname "$0")/_lib.sh"
# constants unlikely to change
FNAME_PROFILE=.profile
#!/bin/sh
-cd "$(dirname "$0")" || exit
-. ./_lib.sh
+. "$(dirname "$0")/_lib.sh"
# constants unlikely to change
FNAME_START_HOME=start_home.sh