Re: pwd in preinstall and dummy component package folder permissions.
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Apr 12, 2010, at 1:01 AM, Sachin Porwal wrote:
I tried to use `pwd` in preinstall script which is contained in 10.4 pkg but it did not work as expected. I am always getting the root folder ('/') as the return value in preinstall script. It seems like `pwd` will not work correctly with 10.4 pkg & we need to use '$0/../' only.
Can you please confirm this??
Why exactly do you think that this is the wrong value? "cd"ing to / seems reasonable to me, and then that is the value that pwd should return. -- Karl Kuehn larkost@softhome.net _______________________________________________ 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)
-
Karl Kuehn