]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Fix double use of mail directory in parsemail-batch.sh
authorDaniel Axtens <dja@axtens.net>
Wed, 8 Feb 2017 04:16:58 +0000 (15:16 +1100)
committerStephen Finucane <stephen@that.guru>
Wed, 8 Feb 2017 09:25:30 +0000 (09:25 +0000)
commit3afa6abcc76948d652da3b353eec6d7ff54bf6eb
tree30e6f23683f638d61a3d24b71ef1cdc531f4b9a3
parent83a63a2af026b35386552e0a2bc641285143890d
Fix double use of mail directory in parsemail-batch.sh

2d142b2c0a27 ("bin: Run scripts through shellcheck") changes an
ls to a find. find output includes the directory name, unlike ls.
This breaks the script, because it prepends the mail directory
later on.

Remove the prepending in the script - leave it exclusively to find.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: stephen@that.guru
Fixes: 2d142b2c0a27 ("bin: Run scripts through shellcheck")
patchwork/bin/parsemail-batch.sh