File: defs.in

package info (click to toggle)
fakeroot 1.14.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,000 kB
  • ctags: 565
  • sloc: sh: 10,485; ansic: 3,538; makefile: 290; perl: 14
file content (23 lines) | stat: -rw-r--r-- 559 bytes parent folder | download
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=@LDPRELOADVAR@

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}           \
       "$@"
}