File: defs

package info (click to toggle)
fakeroot 1.37.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,912 kB
  • sloc: sh: 5,437; ansic: 5,346; makefile: 199; perl: 14
file content (23 lines) | stat: -rw-r--r-- 553 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#                                          -*- shell-script -*-

me=`basename $0`
tmp=$me.dir
rm -rf $tmp
trap 'rm -rf $tmp' EXIT

# The name of LD_PRELOAD on this platform.
LDPRELOADVAR=LD_PRELOAD

case $VERBOSE in
  x)  set -x;;                # Debug mode.
  '') exec >/dev/null 2>&1;;  # By default, be silent.
esac

run_fakeroot ()
{
  tmp="$tmp"                                    \
  $PWD/../scripts/fakeroot${tcp}                \
      -f $PWD/../faked${tcp}                    \
      -l $PWD/../.libs/${libfakeroot}           \
       "$@"
}