summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2023-05-17 17:23:59 +0200
committerMichal Domonkos <mdomonko@redhat.com>2023-05-17 17:40:11 +0200
commit021a7d3aaa5458d8956babf0220a3e574a2b8e62 (patch)
treeb78c0bbcc9a98364a351e057c66f5b52d073d7cf /tests
parent2df8008d22b58f87fe665de0fa8c5bbeb4b4a3d8 (diff)
downloadrpm-master.tar.gz
Use mkdir -p for creating SPECPARTS dirHEADmaster
to not error out when invoking %setup more than once or shipping the directory in the sources.
Diffstat (limited to 'tests')
-rw-r--r--tests/rpmspec.at2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rpmspec.at b/tests/rpmspec.at
index 548b4b3cc..564479391 100644
--- a/tests/rpmspec.at
+++ b/tests/rpmspec.at
@@ -333,7 +333,7 @@ if [ $STATUS -ne 0 ]; then
exit $STATUS
fi
cd 'hello-1.0'
-/usr/bin/mkdir SPECPARTS
+/usr/bin/mkdir -p SPECPARTS
/usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
echo "Patch #0 (hello-1.0-modernize.patch):"
/usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .modernize --fuzz=0 < /build/SOURCES/hello-1.0-modernize.patch