bin/deps-and-gyp: deal with corner cases cleanly
TBR=mtklein@google.com NOTRY=true Review URL: https://codereview.chromium.org/1415193006
This commit is contained in:
parent
3f846ae913
commit
4a40a46c65
5
bin/deps-and-gyp
Normal file → Executable file
5
bin/deps-and-gyp
Normal file → Executable file
@ -34,10 +34,7 @@ if ! [ -f DEPS ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$(git hash-object DEPS)" != "$(git config sync-deps.last)" ] ; then
|
||||
GIT_SYNC_DEPS_QUIET=1 python tools/git-sync-deps || exit
|
||||
git config sync-deps.last "$(git hash-object DEPS)"
|
||||
fi
|
||||
GIT_SYNC_DEPS_QUIET=1 python tools/git-sync-deps || exit
|
||||
|
||||
catifexists() { if [ -f "$1" ]; then cat "$1"; fi; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user