From 8601cfbc675a80160118ada110eb0988f7ae3c59 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 2 Aug 2017 13:20:53 +0200 Subject: bin/get-package-updates: remove bashism --- bin/get-package-updates | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/get-package-updates b/bin/get-package-updates index 14f63d9..b51d7c2 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -113,9 +113,9 @@ for repo in ${repo_names}; do git -C "${repo_path}" rev-parse HEAD | \ tee "${work_dir}/${repo}.revision.new" )'" - eval 'if ! [ "${new_repo_revisions__'"${repo}"'}" = "${old_repo_revisions__'"${repo}"'}" ]; then + if ! eval '[ "${new_repo_revisions__'"${repo}"'}" = "${old_repo_revisions__'"${repo}"'}" ]'; then something_new=true - fi' + fi done if ${pull} && \ -- cgit v1.2.3-70-g09d2