packaging: Correct error message in apply_patches.sh

If the script doesn't find a patches directory it expects, it gives an
error saying to create a dummy 'no_patches' file if you really don't want
any patches applied for that version.

But actual practice in the tree is to call the dummy file 'no_patches.txt'
rather than simply 'no_patches'.  Correct the message to match existing
practice.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
David Gibson 2021-09-02 13:56:38 +10:00
parent 230eae3ff3
commit 81de2d476b

View File

@ -45,6 +45,6 @@ if [ -d "$patches_dir" ]; then
done
else
echo "INFO: Patches directory does not exist: ${patches_dir}"
echo "INFO: Create a ${patches_dir}/no_patches file if the current version has no patches"
echo "INFO: Create a ${patches_dir}/no_patches.txt file if the current version has no patches"
exit 1;
fi