From d805f0e76f4c652d4ebe24d670da1a3286e1289d Mon Sep 17 00:00:00 2001 From: xZero707 Date: Sat, 15 Jan 2022 06:14:44 +0100 Subject: [PATCH] Fix file not found error --- build/patch-util/01-create-patch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/patch-util/01-create-patch.sh b/build/patch-util/01-create-patch.sh index a8e6f33..9d0c34a 100755 --- a/build/patch-util/01-create-patch.sh +++ b/build/patch-util/01-create-patch.sh @@ -50,7 +50,7 @@ if [ -n "${WP_VERSION}" ]; then echo "> WordPress version defined: ${WP_VERSION}" echo "> Copying the patch file..." mkdir "../../patches/${WP_VERSION}" -p - cp -v "./wp-src/${PATCH_FILE}" "../../patches/${WP_VERSION}/" + cp -v "./${PATCH_FILE}" "../../patches/${WP_VERSION}/" else echo "> Please run: " echo " cp './wp-src/${PATCH_FILE}' '../../patches/5.x.x/'" @@ -59,4 +59,4 @@ fi echo "" echo "> Don't forget to inspect the patch and THEN commit" -echo "> Finished" \ No newline at end of file +echo "> Finished"