summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommit-package4
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