File: run

package info (click to toggle)
pristine-tar 1.50%2Bnmu2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,116 kB
  • sloc: ansic: 9,417; perl: 2,019; sh: 371; makefile: 211; python: 109
file content (11 lines) | stat: -rwxr-xr-x 218 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -eu

basedir="$(dirname "$0")"

export PRISTINE_TAR_VERSION="$(cd "$basedir" && git describe --tags 2>/dev/null| sed -e 's#debian/##')"
export PATH="$basedir:$PATH"
export PERL5LIB="$basedir"

exec "$@"