[PATCH 03/10] bin/parse: append parameters to parse script
WEN Pingbo
wengpingbo at gmail.com
Tue Aug 23 19:03:37 AEST 2016
Sometimes, we need to pass parameters to python parsing script
Signed-off-by: WEN Pingbo <wengpingbo at gmail.com>
---
patchwork/bin/parsearchive.sh | 2 +-
patchwork/bin/parsemail.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/patchwork/bin/parsearchive.sh b/patchwork/bin/parsearchive.sh
index 11a3924..5e78227 100755
--- a/patchwork/bin/parsearchive.sh
+++ b/patchwork/bin/parsearchive.sh
@@ -24,6 +24,6 @@ PATCHWORK_BASE=`readlink -e $BIN_DIR/../..`
PYTHONPATH="$PATCHWORK_BASE":"$PATCHWORK_BASE/lib/python:$PYTHONPATH" \
DJANGO_SETTINGS_MODULE=patchwork.settings.production \
- "$PATCHWORK_BASE/patchwork/bin/parsearchive.py"
+ "$PATCHWORK_BASE/patchwork/bin/parsearchive.py" $@
exit 0
diff --git a/patchwork/bin/parsemail.sh b/patchwork/bin/parsemail.sh
index 9973392..3eca903 100755
--- a/patchwork/bin/parsemail.sh
+++ b/patchwork/bin/parsemail.sh
@@ -24,6 +24,6 @@ PATCHWORK_BASE=`readlink -e $BIN_DIR/../..`
PYTHONPATH="$PATCHWORK_BASE":"$PATCHWORK_BASE/lib/python:$PYTHONPATH" \
DJANGO_SETTINGS_MODULE=patchwork.settings.production \
- "$PATCHWORK_BASE/patchwork/bin/parsemail.py"
+ "$PATCHWORK_BASE/patchwork/bin/parsemail.py" $@
exit 0
--
1.9.1
More information about the Patchwork
mailing list