[ci] fix patch name

This commit is contained in:
JAremko 2021-07-06 00:34:35 +03:00 committed by Eugene Yaremenko
parent c089959754
commit 34f739649c
1 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
## License: GPLv3
if [ ! -f "/tmp/${PUBLISH}.patch" ]; then
echo "No /tmp/${PUBLISH}.patch file. Aborting."
echo "No \"/tmp/${PUBLISH}.patch\" file. Aborting."
exit 0
else
echo_headline "Cloning target repository"
@ -25,9 +25,9 @@ else
cd "/tmp/${PUBLISH}"
echo_headline "Patching"
git am < /tmp/spacemacs.patch
git am < "/tmp/${PUBLISH}.patch"
if [ $? -ne 0 ]; then
echo "Failed to apply /tmp/${PUBLISH}.patch."
echo "Failed to apply \"/tmp/${PUBLISH}.patch\"."
exit 2
fi
fi