aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgetmails-alternative3
1 files changed, 2 insertions, 1 deletions
diff --git a/getmails-alternative b/getmails-alternative
index 982f7aa..d85753a 100755
--- a/getmails-alternative
+++ b/getmails-alternative
@@ -7,6 +7,7 @@
# Parameters
CONFIG_FOLDER="$HOME/.getmail/config"
+GETMAIL="/usr/bin/getmail"
# Check
if [ ! -d "$CONFIG_FOLDER" ]; then
@@ -14,4 +15,4 @@ if [ ! -d "$CONFIG_FOLDER" ]; then
fi
# Dispatch
-ls -1 $CONFIG_FOLDER | grep -v '^oldmail-' | grep '@' | grep -v '.disabled$' | xargs echo | sed -e 's/ / --rcfile /g' | xargs echo getmail --rcfile
+ls -1 $CONFIG_FOLDER | grep -v '^oldmail-' | grep '@' | grep -v '.disabled$' | xargs echo | sed -e 's/ / --rcfile /g' | xargs $GETMAIL --rcfile