File: run-local

package info (click to toggle)
pkg-kde-tools 0.9.3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 396 kB
  • ctags: 398
  • sloc: perl: 4,824; sh: 294; makefile: 46
file content (12 lines) | stat: -rwxr-xr-x 250 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Set up environment for running scripts straight from the source package

loc="`dirname $0`"
loc="`readlink -e "$loc"`"

export PERL5LIB="$loc/perllib:$lib/datalib:$PERL5LIB"
export PATH="$loc:$PATH"

# Execute requested script
exec "$@"