readme: factor out hardcoded paths on code snippets with getvar

This commit is contained in:
Ciro Santilli
2018-08-12 23:48:12 +01:00
parent 185c2730cc
commit a8bc1f4cce
5 changed files with 177 additions and 95 deletions

6
runtc
View File

@@ -6,11 +6,7 @@ while getopts a:gh OPT; do
common_arch="$OPTARG"
;;
h)
printf "Usage: $0 TOOL [TOOL_ARGS]...
Call a built ToolChain tool. Example:
$0 -a arm readelf -h
" 2>&1
echo "https://github.com/cirosantilli/linux-kernel-module-cheat#runtc" 2>&1
exit 0
;;
esac