1*c54f35caSApple OSS Distributionssetup_tmp=`mktemp -d -t setup` 2*c54f35caSApple OSS Distributionsprintenv | sort > "${setup_tmp}/orig" 3*c54f35caSApple OSS Distributionsmake print_exports | grep -E -v '^(MAKE|MFLAGS|SHLVL)' > "${setup_tmp}/exports" 4*c54f35caSApple OSS Distributionseval `comm -13 "${setup_tmp}/orig" "${setup_tmp}/exports" | sed 's,^\(.*\)$,export "\1",'` 5*c54f35caSApple OSS Distributions 6*c54f35caSApple OSS Distributions 7