diff options
Diffstat (limited to 'check-builtins.sh')
-rwxr-xr-x | check-builtins.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/check-builtins.sh b/check-builtins.sh index d6fe6cf174..07cff69d8e 100755 --- a/check-builtins.sh +++ b/check-builtins.sh @@ -14,8 +14,8 @@ sort | bad=0 while read builtin do - base=`expr "$builtin" : 'git-\(.*\)'` - x=`sed -ne 's/.*{ "'$base'", \(cmd_[^, ]*\).*/'$base' \1/p' git.c` + base=$(expr "$builtin" : 'git-\(.*\)') + x=$(sed -ne 's/.*{ "'$base'", \(cmd_[^, ]*\).*/'$base' \1/p' git.c) if test -z "$x" then echo "$base is builtin but not listed in git.c command list" |