summaryrefslogtreecommitdiff
path: root/nupdf/files
diff options
context:
space:
mode:
authorDavid Kühling <dvdkhlng@gmx.de>2011-01-02 15:19:00 +0100
committerDavid Kühling <dvdkhlng@gmx.de>2011-01-02 15:19:00 +0100
commit9aaeb4623d3ff5746e665bc17914eefd292b7dcd (patch)
tree370db60ffdc2ef840b7d1124d5a392f93bba3c9d /nupdf/files
downloadqipackages-fork-9aaeb4623d3ff5746e665bc17914eefd292b7dcd.tar.gz
New OpenWrt package for GNU Octave. Experimental/probably still broken.grafted
Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days.
Diffstat (limited to 'nupdf/files')
-rw-r--r--nupdf/files/nupdf.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/nupdf/files/nupdf.sh b/nupdf/files/nupdf.sh
new file mode 100644
index 0000000..25b6d1a
--- /dev/null
+++ b/nupdf/files/nupdf.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if [ "${1#/}" = "$1" ];
+then
+ f=`pwd`/$1;
+else
+ f=$1;
+fi;
+
+cd /usr/share/nupdf
+./nupdf.bin "$f"