Add basename to scriptname for the clean look of the output.
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
smatch_scripts/build_kernel_data.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/smatch_scripts/build_kernel_data.sh b/smatch_scripts/build_kernel_data.sh
index 87f1f0639c55..c338da6e43e4 100755
--- a/smatch_scripts/build_kernel_data.sh
+++ b/smatch_scripts/build_kernel_data.sh
@@ -6,7 +6,7 @@ PROJECT=kernel
function usage {
echo
- echo "Usage: $0"
+ echo "Usage: $(basename $0)"
echo "Updates the smatch_data/ directory and builds the smatch database"
echo
exit 1
--
2.46.3