commit: 7691d3a4d0838d10f0787ef0f6d4c8ce443e90db
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 14:11:54 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 14:11:54 2024 +0000
URL: https://gitweb.gentoo.org/proj/binhost.git/commit/?id=7691d3a4
Do not require variant files to be based on an already-existing directory
cp: cannot create regular file '../../package.accept_keywords/gcc': No such
file or directory
Container binhost-amd64-x86-64-gnome-23 failed with error code 1.
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
builders/milou/gnome-23/run-update | 1 +
builders/milou/gnome-v3-23/run-update | 1 +
2 files changed, 2 insertions(+)
diff --git a/builders/milou/gnome-23/run-update
b/builders/milou/gnome-23/run-update
index 84bf589..7e1aeca 100755
--- a/builders/milou/gnome-23/run-update
+++ b/builders/milou/gnome-23/run-update
@@ -26,6 +26,7 @@ elif [[ $1 ]]; then
elif [[ ${line} = *.footer ]]; then
cat "${line}" >> "${dest}"
else
+ mkdir -p "${dest%/*}"
cp "${line}" "${dest}"
fi
done < <(find . -type f -printf '%P\0')
diff --git a/builders/milou/gnome-v3-23/run-update
b/builders/milou/gnome-v3-23/run-update
index 84bf589..7e1aeca 100755
--- a/builders/milou/gnome-v3-23/run-update
+++ b/builders/milou/gnome-v3-23/run-update
@@ -26,6 +26,7 @@ elif [[ $1 ]]; then
elif [[ ${line} = *.footer ]]; then
cat "${line}" >> "${dest}"
else
+ mkdir -p "${dest%/*}"
cp "${line}" "${dest}"
fi
done < <(find . -type f -printf '%P\0')