mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
notmuch-mutt: fix xargs/ln usage for OpenBSD compatibility
- xargs: use -r flag instead of --no-run-if-empty - ln: use -I flag/3rd form of ln command instead of -t flag/4th form Signed-off-by: Stefano Zacchiroli <zack@upsilon.cc>
This commit is contained in:
parent
294bb6de20
commit
1ad02d06b5
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ sub search($$$) {
|
||||||
empty_maildir($maildir);
|
empty_maildir($maildir);
|
||||||
system("notmuch search --output=files $dup_option $query"
|
system("notmuch search --output=files $dup_option $query"
|
||||||
. " | sed -e 's: :\\\\ :g'"
|
. " | sed -e 's: :\\\\ :g'"
|
||||||
. " | xargs --no-run-if-empty ln -s -t $maildir/cur/");
|
. " | xargs -r -I searchoutput ln -s searchoutput $maildir/cur/");
|
||||||
}
|
}
|
||||||
|
|
||||||
sub prompt($$) {
|
sub prompt($$) {
|
||||||
|
|
Loading…
Reference in a new issue