mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
[nupdf] fix the static path bug. thanks Werner
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "${1#/}" = "$1" ];
|
||||
then
|
||||
f=`pwd`/$1;
|
||||
else
|
||||
f=$1;
|
||||
fi;
|
||||
|
||||
cd /usr/share/nupdf
|
||||
/usr/bin/nupdf.bin $*
|
||||
./nupdf.bin "$f"
|
||||
|
||||
Reference in New Issue
Block a user