rclppt: fix absolute paths

This commit is contained in:
Jean-Francois Dockes 2013-11-14 19:20:36 +01:00
parent 9c42bab11b
commit f078369cbb

View File

@ -149,7 +149,8 @@ lines=`wc -l < $cattxt`
if test $lines -lt 5 -a X$haveunoconv = Xyes; then if test $lines -lt 5 -a X$haveunoconv = Xyes; then
unoconv -f pdf -o "$unopdf" "$infile" unoconv -f pdf -o "$unopdf" "$infile"
`dirname $0`/rclpdf "$unopdf/${infile%.*}.pdf" sinfile=`basename "$infile"`
`dirname $0`/rclpdf "$unopdf/${sinfile%.*}.pdf"
else else
# output the catppt result # output the catppt result
echo '<html><head>' echo '<html><head>'