[PATCH 6/9] Trivial fixup to take away the full path of the script

Bhaskar Chowdhury posted 9 patches 3 months, 2 weeks ago
[PATCH 6/9] Trivial fixup to take away the full path of the script
Posted by Bhaskar Chowdhury 3 months, 2 weeks ago
Just for the cleanliness.Full path to the script removed.

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 smatch_scripts/gen_bit_shifters.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smatch_scripts/gen_bit_shifters.sh b/smatch_scripts/gen_bit_shifters.sh
index 98fa30ca205b..53300345a3e0 100755
--- a/smatch_scripts/gen_bit_shifters.sh
+++ b/smatch_scripts/gen_bit_shifters.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