From 9225cede2a8826492f7ea28acaf2fb8dbb7fbdad Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Sat, 26 Mar 2022 23:01:33 +1100 Subject: [PATCH] fix OVERLAYDIR setup --- overlay-boot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overlay-boot b/overlay-boot index 75939fe..0db05aa 100755 --- a/overlay-boot +++ b/overlay-boot @@ -4,10 +4,10 @@ # is an overlay of the subhost's root and an OS root. The service # subhost is defined by a configuration file named on teh command line -OVERLAYDIR="$(realpath $(dirname $0))" +OVERLAYDIR="$(dirname $(realpath $0))" [ $(id -u) = 0 ] || exec sudo $0 $@ -. $(dirname $(realpath $0))/functions $* +. $OVERLAYDIR/functions $* CONFIG="$1" [ -r "$CONFIG" ] || die "Missing configuration $CONFIG" -- 2.39.2