]> git.saurik.com Git - apple/xnu.git/blame - SETUP/setup.sh
xnu-3789.31.2.tar.gz
[apple/xnu.git] / SETUP / setup.sh
CommitLineData
39236c6e
A
1setup_tmp=`mktemp -d -t setup`
2printenv | sort > "${setup_tmp}/orig"
3make print_exports | grep -E -v '^(MAKE|MFLAGS|SHLVL)' > "${setup_tmp}/exports"
4eval `comm -13 "${setup_tmp}/orig" "${setup_tmp}/exports" | sed 's,^\(.*\)$,export "\1",'`
5
6