aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-09-13 10:11:54 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-09-13 10:11:54 -0400
commit7691d3a4d0838d10f0787ef0f6d4c8ce443e90db (patch)
tree70a2563ba3351e4fe9229c91958cad9ac2e7a73a
parentOne more fix (diff)
downloadbinhost-7691d3a4d0838d10f0787ef0f6d4c8ce443e90db.tar.gz
binhost-7691d3a4d0838d10f0787ef0f6d4c8ce443e90db.tar.bz2
binhost-7691d3a4d0838d10f0787ef0f6d4c8ce443e90db.zip
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@gentoo.org>
-rwxr-xr-xbuilders/milou/gnome-23/run-update1
-rwxr-xr-xbuilders/milou/gnome-v3-23/run-update1
2 files changed, 2 insertions, 0 deletions
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')