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