projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
294bb6d
)
notmuch-mutt: fix xargs/ln usage for OpenBSD compatibility
author
Jack Peirce
<JPeirce@sourcecode.com>
Fri, 1 May 2015 08:32:05 +0000
(10:32 +0200)
committer
David Bremner
<david@tethera.net>
Mon, 4 May 2015 06:04:38 +0000
(08:04 +0200)
- 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>
contrib/notmuch-mutt/notmuch-mutt
patch
|
blob
|
history
diff --git
a/contrib/notmuch-mutt/notmuch-mutt
b/contrib/notmuch-mutt/notmuch-mutt
index 126cbf4444da0cf0585b3aceb696075fab57d18e..b47b36514a7d97a0a2c0a592b1c6155ef1599739 100755
(executable)
--- a/
contrib/notmuch-mutt/notmuch-mutt
+++ b/
contrib/notmuch-mutt/notmuch-mutt
@@
-50,7
+50,7
@@
sub search($$$) {
empty_maildir($maildir);
system("notmuch search --output=files $dup_option $query"
. " | sed -e 's: :\\\\ :g'"
- . " | xargs -
-no-run-if-empty ln -s -
t $maildir/cur/");
+ . " | xargs -
r -I searchoutput ln -s searchoutpu
t $maildir/cur/");
}
sub prompt($$) {