repo.or.cz
/
hband-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make getpeername() return the original socket address which before it was intercepted
[hband-tools.git]
/
user-tools
/
set-sys-path
blob
3264136d6572fc034d64e6444b8adc86eb5667a8
1
#!/bin/bash
2
3
true
<<EOF
4
=pod
5
6
=head1 NAME
7
8
set-sys-path - Set PATH according to /etc/environment and run the given command
9
10
=cut
11
12
EOF
13
14
15
set -e
16
17
export
PATH
=
`/usr/sbin/pam_getenv PATH`
18
exec
"$@"