[PATCH] parsemail.sh: Fix usage via stdin.
Ralf Baechle
ralf at linux-mips.org
Wed Mar 15 05:09:12 AEDT 2017
Commit e56391f66cb8 ("trivial: Standardize variable naming in scripts")
sneaked in a checked for missing command line arguments in parsemail.sh
which broke typical argument-less usage for mail delivery. Revert that
again.
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
---
patchwork/bin/parsemail.sh | 5 -----
1 file changed, 5 deletions(-)
diff --git a/patchwork/bin/parsemail.sh b/patchwork/bin/parsemail.sh
index 5d1672e..a742f60 100755
--- a/patchwork/bin/parsemail.sh
+++ b/patchwork/bin/parsemail.sh
@@ -22,11 +22,6 @@
BIN_DIR=$(dirname "$0")
PATCHWORK_BASE=$(readlink -e "$BIN_DIR/../..")
-if [ $# -lt 1 ]; then
- echo "usage: $0 <file> [options]" >&2
- exit 1
-fi
-
if [ -z "$PW_PYTHON" ]; then
PW_PYTHON=python2
fi
More information about the Patchwork
mailing list