summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2015-02-12 19:34:11 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-03-04 20:31:00 +0100
commit90105d546826498603eb6db1999ada92dca08b82 (patch)
treecd21494ad52734bd2daf5bfda5fde1b8e000a2d6 /util
parentbc772c3f3da6152d09e60be4e4e72a782cfa4201 (diff)
Only update submodules if the source is in a git repo
This change just adds a check to verify that the build is happening inside a git repo and that git is a valid command before trying to update the submodules. Use 'command -v' instead of 'which' to stay portable. Change-Id: Idfa27645c3dbfd684f90002ecb01626d71eacc8f Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: http://review.coreboot.org/8427 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions