diff options
author | Erich Eckner <git@eckner.net> | 2020-12-07 13:37:37 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-12-07 13:37:37 +0100 |
commit | fca45c66eded96e69e64e5334c78a698c7e154db (patch) | |
tree | 6ae8fb61dab8be4e7dbefe4fdba5edf71ddb8432 /commit-package | |
parent | 9c3ffb0ea631d62b839a6eb2dea4d8e21b5e83da (diff) | |
download | archlinuxewe-fca45c66eded96e69e64e5334c78a698c7e154db.tar.xz |
commit-package: fix logic
Diffstat (limited to 'commit-package')
-rwxr-xr-x | commit-package | 4 |
1 files changed, 2 insertions, 2 deletions
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 |