mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
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:
parent
230eae3ff3
commit
81de2d476b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user