projects
/
apple
/
xnu.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
xnu-2422.90.20.tar.gz
[apple/xnu.git]
/
SETUP
/
setup.sh
1
setup_tmp
=
`mktemp -d -t setup`
2
printenv
|
sort
>
"
${setup_tmp}
/orig"
3
make
print_exports
|
grep
-E -v
'^(MAKE|MFLAGS|SHLVL)'
>
"
${setup_tmp}
/exports"
4
eval
`comm -13 "
${setup_tmp}
/orig" "
${setup_tmp}
/exports" | sed 's,^\(.*\)$,export "\1",'`
5
6