Re: Environment variable is not read in package postflight script
site_archiver@lists.apple.com Delivered-To: Installer-dev@lists.apple.com On Feb 5, 2008, at 12:16 PM, Jeff Vandehey wrote: When I take this same script, and set it up as a post-flight script on a package, it does NOT read the $HOST variable. I get the email fine, but I get just a blank space where the $HOST variable should list information. Since the package is run as root, the email comes from System Administrator. The script is below. What do I need to add to it, to make it so I can read this environment variable? What is it you're expecting $HOST to be set to, and does printenv confirm these expectations? I don't seem to have any such thing defined on my machine. _______________________________________________ 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)
-
Nathan Duran