• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Environment variable is not read in package postflight script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Environment variable is not read in package postflight script


  • Subject: Re: Environment variable is not read in package postflight script
  • From: Jeff Vandehey <email@hidden>
  • Date: Tue, 5 Feb 2008 12:45:26 -0800

That did the trick! Thanks Jack.

-Jeff

On Feb 5, 2008, at 12:34 PM, Jack Repenning wrote:

On Feb 5, 2008, at 12:16 PM, Jeff Vandehey wrote:

/usr/bin/mail -s "$SUBJECT $HOST" "$TO" <<EOF
A new host was imaged today at `date`. Add $HOST to your ARD configuration.
EOF


Try this:

/usr/bin/mail -s "$SUBJECT $(/bin/hostname) "$TO" <<EOF
...

-==-
Jack Repenning
Chief Technology Officer
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
mobile: +1 408.835.8090
raindance: +1 877.326.2337, x844.7461
aim: jackrepenning
skype: jrepenning






_____________________________________________________________________
The information contained in this message and its attachments is
confidential and proprietary to LAIKA, Inc. By opening this email
or any of its attachments, you agree to keep all such information
confidential and not to use, distribute, disclose or copy any part
of such information without the prior written consent of LAIKA,
Inc. If you are not the intended recipient of this message, any use,
distribution, disclosure or copying of such information is prohibited.
If received in error, please contact the sender.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Environment variable is not read in package postflight script (From: Jeff Vandehey <email@hidden>)

  • Prev by Date: Re: Environment variable is not read in package postflight script
  • Next by Date: Re: Installation "diverting" under development user
  • Previous by thread: Re: Environment variable is not read in package postflight script
  • Next by thread: 10.5 lauchctl unload causing process crash
  • Index(es):
    • Date
    • Thread