]> git.saurik.com Git - apple/xnu.git/blob - SETUP/setup.sh
xnu-4903.241.1.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