]> git.ipfire.org Git - pakfire.git/commitdiff
scripts: Log BUILDROOT when it cannot be found
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Dec 2022 19:19:50 +0000 (19:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Dec 2022 19:19:50 +0000 (19:19 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/find-provides
src/scripts/find-requires

index d3379ae5e5e34ee0dc7faff712f6980d2dee44f3..3f2ec30db5d0ae578e221c9da8f464b7a5061e5c 100644 (file)
@@ -74,7 +74,7 @@ main() {
 
        # Check if BUILDROOT exists
        if [ ! -d "${buildroot}" ]; then
-               error "BUILDROOT does not exist"
+               error "BUILDROOT (${buildroot}) does not exist"
                return 1
        fi
 
index 7db19da7930a4643a9bf8ae04864263aa689aa64..7ca431622d3cf8999b824009c50f3263866e1e37 100644 (file)
@@ -134,7 +134,7 @@ main() {
 
        # Check if BUILDROOT exists
        if [ ! -d "${buildroot}" ]; then
-               error "BUILDROOT does not exist"
+               error "BUILDROOT (${buildroot}) does not exist"
                return 1
        fi