Fix file not found error

This commit is contained in:
xZero707 2022-01-15 06:14:44 +01:00
parent 50a48fd0e3
commit d805f0e76f
Signed by untrusted user who does not match committer: xZero707
GPG Key ID: 3CC53DCAA9C237BB

View File

@ -50,7 +50,7 @@ if [ -n "${WP_VERSION}" ]; then
echo "> WordPress version defined: ${WP_VERSION}" echo "> WordPress version defined: ${WP_VERSION}"
echo "> Copying the patch file..." echo "> Copying the patch file..."
mkdir "../../patches/${WP_VERSION}" -p mkdir "../../patches/${WP_VERSION}" -p
cp -v "./wp-src/${PATCH_FILE}" "../../patches/${WP_VERSION}/" cp -v "./${PATCH_FILE}" "../../patches/${WP_VERSION}/"
else else
echo "> Please run: " echo "> Please run: "
echo " cp './wp-src/${PATCH_FILE}' '../../patches/5.x.x/'" echo " cp './wp-src/${PATCH_FILE}' '../../patches/5.x.x/'"
@ -59,4 +59,4 @@ fi
echo "" echo ""
echo "> Don't forget to inspect the patch and THEN commit" echo "> Don't forget to inspect the patch and THEN commit"
echo "> Finished" echo "> Finished"