From: Zygo Blaxell Date: Wed, 5 Nov 2025 05:19:19 +0000 (-0500) Subject: scripts: don't try to find bees in $DESTDIR at runtime X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af7109a5188d042ba7913e00a43d0b8efab88a80;p=bees scripts: don't try to find bees in $DESTDIR at runtime DESTDIR is an install-time variable, so it should be used in the install scripts but not the installed scripts. PREFIX is the runtime variable. Signed-off-by: Zygo Blaxell --- diff --git a/scripts/beesd.in b/scripts/beesd.in index b31d4c1b..f4751aaa 100755 --- a/scripts/beesd.in +++ b/scripts/beesd.in @@ -23,7 +23,7 @@ readonly AL128K="$((128*1024))" readonly AL16M="$((16*1024*1024))" readonly CONFIG_DIR=@ETC_PREFIX@/bees/ -readonly bees_bin=$(realpath @DESTDIR@/@LIBEXEC_PREFIX@/bees) +readonly bees_bin=$(realpath @LIBEXEC_PREFIX@/bees) command -v "$bees_bin" &> /dev/null || ERRO "Missing 'bees' agent"