1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-23 08:48:40 +02:00
openwrt-packages/nupdf/files/nupdf.sh
Xiangfu Liu d7b3e28f05 [nupdf] fix the static path bug. thanks Werner
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-11-01 21:59:09 +08:00

12 lines
110 B
Bash

#!/bin/sh
if [ "${1#/}" = "$1" ];
then
f=`pwd`/$1;
else
f=$1;
fi;
cd /usr/share/nupdf
./nupdf.bin "$f"