]> git.ipfire.org Git - pakfire.git/commitdiff
scripts: Use correct variable name for BUILDROOT
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 3 Nov 2022 19:54:14 +0000 (19:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 3 Nov 2022 19:54:14 +0000 (19:54 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/find-requires

index 5b934ef3a4e5ca1e22e33151638675755fb3cc61..6b3daf2c13e53516f1f777a83365c43426f06df6 100644 (file)
@@ -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