This is an automated email from the git hooks/post-receive script.
robert.savoye pushed a commit to branch parser in repository toolchain/abe.
The following commit(s) were added to refs/heads/parser by this push: new a763ade reverse logic on file existance test. a763ade is described below
commit a763ade59bb0a57d343bfd06d4325ba55e797872 Author: Rob Savoye rob.savoye@linaro.org Date: Thu Aug 20 18:40:26 2015 -0600
reverse logic on file existance test.
Change-Id: Ib1fd1e8eed33ad6310d3238da5f713c6aede2ca3 --- lib/fetch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/fetch.sh b/lib/fetch.sh index fb82b8d..1a0725d 100755 --- a/lib/fetch.sh +++ b/lib/fetch.sh @@ -271,7 +271,7 @@ fetch_reference()
# Only copy if the source file in the reference dir is newer than # that file in the local_snapshots directory (if it exists). - dryrun "cp${update_on_change:+ ${update_on_change}} ${git_reference_dir}${dir} [...] + dryrun "cp${update_on_change:+ ${update_on_change}} ${git_reference_dir}${dir} [...] if test $? -gt 0; then error "Copying ${getfile} from reference dir to ${local_snapshots}${dir} failed." return 1 @@ -297,7 +297,7 @@ check_md5sum() local dir="" fi
- if test -e "${local_snapshots}${dir}/${file}"; then + if test ! -e "${local_snapshots}${dir}/${file}"; then error "No md5sum file for ${tool}!" return 1 fi