]> git.hungrycats.org Git - bees/commitdiff
scripts: don't try to find bees in $DESTDIR at runtime
authorZygo Blaxell <bees@furryterror.org>
Wed, 5 Nov 2025 05:19:19 +0000 (00:19 -0500)
committerZygo Blaxell <bees@furryterror.org>
Sat, 14 Feb 2026 05:23:07 +0000 (00:23 -0500)
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 <bees@furryterror.org>
scripts/beesd.in

index b31d4c1be9a5fda173be420cbd31c7369327c6aa..f4751aaac4e8411c30e564b3e57ab2fb8a333d51 100755 (executable)
@@ -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"