[PATCH 5/9] Again, for the consistency, eliminate full path to the script
From: Bhaskar Chowdhury
Date: Fri Jun 20 2025 - 19:02:59 EST
Just for the cleanliness.
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
---
smatch_scripts/gen_allocation_list.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/smatch_scripts/gen_allocation_list.sh b/smatch_scripts/gen_allocation_list.sh
index 20175624bd64..3dac0bc0b0a8 100755
--- a/smatch_scripts/gen_allocation_list.sh
+++ b/smatch_scripts/gen_allocation_list.sh
@@ -4,7 +4,7 @@ file=$1
project=$(echo "$2" | cut -d = -f 2)
if [[ "$file" = "" ]] ; then
- echo "Usage: $0 <file with smatch messages> -p=<project>"
+ echo "Usage: $(basename $0) <file with smatch messages> -p=<project>"
exit 1
fi
--
2.46.3