Skip to contentSkip to conversation

tools: objtool: Replace explicit script name to shell variable

PATCH New Bhaskar Chowdhury 1 participant 1 message Jun 27 objtool

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: objtool: Replace explicit script name to shell variable

Script's way of showing their name.

---
Josh, Peter this is a bloody cosmetic change,you might or might not apply it

 tools/objtool/sync-check.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/objtool/sync-check.sh +1 -1
index e38167ca56a9..09893dd7d041 100755
@@ -2,7 +2,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 if [ -z "$SRCARCH" ]; then
-	echo 'sync-check.sh: error: missing $SRCARCH environment variable' >&2
+	echo "$0: error: missing \$SRCARCH environment variable" >&2
 	exit 1
 fi
 

--
2.53.0