From 81de2d476b408da005ae0e40e96b281c30be076d Mon Sep 17 00:00:00 2001 From: David Gibson Date: Thu, 2 Sep 2021 13:56:38 +1000 Subject: [PATCH] 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 --- tools/packaging/scripts/apply_patches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/packaging/scripts/apply_patches.sh b/tools/packaging/scripts/apply_patches.sh index 98d5b02816..28bf2f8fe9 100755 --- a/tools/packaging/scripts/apply_patches.sh +++ b/tools/packaging/scripts/apply_patches.sh @@ -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