~ubuntu-branches/ubuntu/karmic/pybliographer/karmic

« back to all changes in this revision

Viewing changes to scripts/pybscript.in

  • Committer: Bazaar Package Importer
  • Author(s): Nicolas Van Wambeke
  • Date: 2009-08-13 09:17:42 UTC
  • mfrom: (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090813091742-pgh3g1hch0suzexc
Tags: 1.2.12-1ubuntu1
* New upstream release. (LP: #357413)
* Merge from debian unstable, remaining changes: (LP: #412890)
  - Bump build-deps for python-dev to allow 2.6
  - Add manpages from Nis Martensen, adjust debian/rules, and add debian/
    manpages
  - Add b-d-i for scrollkeeper and modify doc/C/pybliographer-C.omf to use
    XML DTD from scrollkeeper instead of from sourceforge
  - Dropped specific build-deps for python-bibtex (>= 1.2.4-1ubuntu1)
* Bumped standards to 3.8.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
    pyblio="@bin_dir@/pybliographer"
13
13
fi
14
14
 
15
 
invocation=$0
 
15
invocation="$0"
16
16
script="${invocation}.py"
17
17
 
18
 
if test -r ${script} ; then
19
 
    exec ${pyblio} --quiet ${script} $*
 
18
if test -r "${script}" ; then
 
19
    exec "${pyblio}" --quiet "${script}" "$@"
20
20
    echo "${progname}:error: can't execute the real script"
21
21
    exit 1
22
22
fi
23
23
 
24
 
progname=`basename ${invocation}`
 
24
progname=`basename "${invocation}"`
25
25
script="${prefix}/${progname}.py"
26
26
 
27
27
if test -r ${script} ; then
28
 
    exec ${pyblio} --quiet ${script} $*
 
28
    exec "${pyblio}" --quiet "${script}" "$@"
29
29
    echo "${progname}:error: can't execute the real script"
30
30
    exit 1
31
31
fi