Environment variables question
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AcyOhRFCT+Pg0yd2SVe0gWrBeZArew== Thread-topic: Environment variables question Hello, I'm trying to understand why I'm unable to read a environment variable in my postflight script. For example, the following will install and run a post flight script where I just echo out each of the following environment variables. export MPLOC=1 export CM_BUILD=CM_BUILD; export COMMAND_LINE_INSTALL=1; /usr/sbin/installer -allow -pkg /tmp/payload-free.pkg -target / The issue is CM_BUILD and COMMAND_LINE_INSTALL echo their values just fine but MPLOC is empty, why? Thanks, Charles _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Heizer, Charles