From: Michael Tremer Date: Thu, 3 Nov 2022 19:54:14 +0000 (+0000) Subject: scripts: Use correct variable name for BUILDROOT X-Git-Tag: 0.9.28~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f9cf72a9d9cc2767c4157e7f7dfc0ab06823500;p=pakfire.git scripts: Use correct variable name for BUILDROOT Signed-off-by: Michael Tremer --- diff --git a/src/scripts/find-requires b/src/scripts/find-requires index 5b934ef3a..6b3daf2c1 100644 --- a/src/scripts/find-requires +++ b/src/scripts/find-requires @@ -168,7 +168,7 @@ main() { local link="$(readlink -m "${path}")" # Make link relative to buildroot - link="${link#${BUILDROOT}}" + link="${link#${buildroot}}" # If the destination is not in this package, we create a dependency for it if ! is_file_on_filelist "${link}" "${filelist}"; then