• 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
Environment variables question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Environment variables question


  • Subject: Environment variables question
  • From: "Heizer, Charles" <email@hidden>
  • Date: Wed, 19 Oct 2011 10:32:25 -0700
  • Acceptlanguage: en-US
  • 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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Environment variables question
      • From: Per Olofsson <email@hidden>
  • Prev by Date: Re: user home directory?
  • Next by Date: Re: Environment variables question
  • Previous by thread: Re: user home directory?
  • Next by thread: Re: Environment variables question
  • Index(es):
    • Date
    • Thread