Skip to content
Snippets Groups Projects
Commit a436cd88 authored by Mao Zhongyi's avatar Mao Zhongyi Committed by Thomas Huth
Browse files

git-submodule.sh: Modern shell scripting (use $() instead of ``)


Various shell files contain a mix between obsolete ``
and modern $(); It would be nice to convert to using $()
everywhere.

Signed-off-by: default avatarMao Zhongyi <maozhongyi@cmss.chinamobile.com>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
parent 934821eb
No related branches found
No related tags found
No related merge requests found
......@@ -59,8 +59,8 @@ status)
fi
test -f "$substat" || exit 1
CURSTATUS=`$GIT submodule status $modules`
OLDSTATUS=`cat $substat`
CURSTATUS=$($GIT submodule status $modules)
OLDSTATUS=$(cat $substat)
test "$CURSTATUS" = "$OLDSTATUS"
exit $?
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment