From 4a40a46c654f292b9407fe42012831855411f75e Mon Sep 17 00:00:00 2001 From: halcanary Date: Tue, 3 Nov 2015 11:18:11 -0800 Subject: bin/deps-and-gyp: deal with corner cases cleanly TBR=mtklein@google.com NOTRY=true Review URL: https://codereview.chromium.org/1415193006 --- bin/deps-and-gyp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) mode change 100644 => 100755 bin/deps-and-gyp (limited to 'bin') diff --git a/bin/deps-and-gyp b/bin/deps-and-gyp old mode 100644 new mode 100755 index f39fc69135..06f0fd5d90 --- a/bin/deps-and-gyp +++ b/bin/deps-and-gyp @@ -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; } -- cgit v1.2.3