From fca45c66eded96e69e64e5334c78a698c7e154db Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 7 Dec 2020 13:37:37 +0100 Subject: commit-package: fix logic --- commit-package | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commit-package') diff --git a/commit-package b/commit-package index 3ac060572..9b50d13aa 100755 --- a/commit-package +++ b/commit-package @@ -14,14 +14,14 @@ fi if [ -d '.git' ] || [ -f '.git' ]; then if ! git remote \ | grep -qxF aur \ - || git remote \ + || ! git remote \ | grep -qxF ecknernet; then >&2 echo 'I cannot find the necessary remotes: aur and ecknernet' exit 1 fi if ! git branch --format='%(refname:lstrip=-1)' \ | grep -qxF master \ - || git branch --format='%(refname:lstrip=-1)' \ + || ! git branch --format='%(refname:lstrip=-1)' \ | grep -qxF archlinuxewe; then >&2 echo 'I cannot find the necessary branches: master and archlinuxewe' exit 1 -- cgit v1.2.3-70-g09d2