Re: pwd in preinstall and dummy component package folder permissions.
Re: pwd in preinstall and dummy component package folder permissions.
- Subject: Re: pwd in preinstall and dummy component package folder permissions.
- From: Karl Kuehn <email@hidden>
- Date: Mon, 12 Apr 2010 08:24:46 -0700
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
email@hidden _______________________________________________
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