Move Quvi.pod to doc/man3/
[www-quvi.git] / scripts / wqwrap
blobaab1cb9e5ed2ffbb7268c1e698c3076fdf6a3886
1 #!/bin/sh
3 # WWW::Quvi
4 # Copyright (C) 2011 Toni Gundogdu <legatvs@gmail.com>
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 # 02110-1301, USA.
22 # wqwrap - WWW::Quvi wrapper script
24 note()
26 echo "Run in the top source directory of WWW::Quvi.
27 Make sure you have run 'perl Makefile.PL ; make' first."
28 exit 0
31 usage()
33 echo "Usage: $0 [perl-script]
34 Example: $0 examples/website.pl"
35 note
38 [ $# -lt 1 ] && usage
40 ([ -d lib ] && [ -d blib ]) || note
42 export PERL5LIB=$PERL5LIB:`pwd`/lib
43 export PERL5LIB=$PERL5LIB:`pwd`/blib/arch/auto/WWW/Quvi
44 #echo $PERL5LIB
46 perl $@
48 # vim: set ts=2 sw=2 tw=72 expandtab: