Merge pull request #4752 from panchoh/fix/org-capture-arguments
Fix 'too many arguments' error on org-capture
This commit is contained in:
commit
ed0631b404
|
@ -30,7 +30,7 @@ shift $((OPTIND-1))
|
|||
|
||||
# use remaining args, else try stdin
|
||||
str="$*"
|
||||
if [ -z $str ]; then
|
||||
if [ -z "$str" ]; then
|
||||
str=$(cat)
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user