Fix error in zread when filenames have spaces
This commit is contained in:
parent
a1d6a58e2c
commit
e9ab5dc9c4
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export dir=$(mktemp -p /dev/shm -d -t tmp.XXXXXXXXXX)
|
export dir=$(mktemp -p /dev/shm -d -t tmp.XXXXXXXXXX)
|
||||||
ln -s /dev/stdout $dir/stdout.pdf
|
ln -s /dev/stdout $dir/stdout.pdf
|
||||||
pandoc -o $dir/stdout.pdf $1 | zathura --fork ${@:2} -
|
pandoc -o $dir/stdout.pdf "$1" | zathura --fork ${@:2} -
|
||||||
rm $dir -rf
|
rm $dir -rf
|
||||||
|
|
Loading…
Reference in a new issue