File: run-local

package info (click to toggle)
pkg-kde-tools 0.15.32
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 752 kB
  • sloc: perl: 4,178; ansic: 628; sh: 481; python: 48; makefile: 1
file content (12 lines) | stat: -rwxr-xr-x 250 bytes parent folder | download | duplicates (8)
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 "$@"