[pulseaudio-discuss] [PATCH 1/4] Solaris: bootstrap portability

Colin Guthrie gmane at colin.guthr.ie
Fri Aug 21 00:57:03 PDT 2009


'Twas brillig, and Finn Thain at 21/08/09 04:11 did gyre and gimble:
> 
> On Fri, 21 Aug 2009, Lennart Poettering wrote:
> 
>> On Fri, 21.08.09 03:49, Finn Thain (fthain at telegraphics.com.au) wrote:
>>
>>> On Solaris, cp and chmod don't have a -v option.
>>>
>>> --- pulseaudio/bootstrap.sh	Tue Aug 18 20:55:33 2009
>>> +++ pulseaudio/bootstrap.sh	Tue Aug 18 20:58:15 2009
>>> @@ -48,8 +48,8 @@
>>>
>>>  if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
>>>      echo "Activating pre-commit hook."
>>> -    cp -pv  .git/hooks/pre-commit.sample .git/hooks/pre-commit
>>> -    chmod -v +x  .git/hooks/pre-commit
>>> +    cp -p  .git/hooks/pre-commit.sample .git/hooks/pre-commit
>>> +    chmod +x  .git/hooks/pre-commit
>>>  fi
>> Hmm, I don't really like this one. I put the -v in there to show the
>> use that we are activating the git commit hook. Maybe there is another
>> way to handle this so that we still get the effect of -v, at least on
>> Linux?
> 
> I'm not fussed. Anyone needing to generate a configure script using 
> exactly the right autotools versions has bigger problems to worry about 
> than removing -v options. After spending hours on it, I couldn't get 
> autoconf (installed on a prefix) to work properly anyway.

Just put an echo statement in there too. Should cover the bases for 
everyone.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list