Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] Determining OSTYPE on different OS

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Olivier Berger <address@concealed>
  • To: Olivier Salaün <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: Re: [sympa-dev] Determining OSTYPE on different OS
  • Date: Tue, 04 Dec 2007 16:34:21 +0100

olivier@hortense:~/sympa/sympa-5.3.3$ uname -s
Linux
olivier@hortense:~/sympa/sympa-5.3.3$ cat /etc/issue
Debian GNU/Linux lenny/sid \n \l

... but I'm not so sure it's the best way to go...

Maybe autoconf tools include better ways to manage such detection ?

My 2 cents,

Le mardi 04 décembre 2007 à 16:19 +0100, Olivier Salaün a écrit :
> We have been reported a bug with Sympa startup script on Solaris, see
> https://sourcesup.cru.fr/tracker/index.php?func=detail&aid=3149&group_id=23&atid=167
>
> The proposed change is to use 'uname -s' to determine to current OS and
> ignore the value that OSTYPE environment variable may have. Before we
> apply this change, we need to ensure that it will not break Sympa
> strartup scipt on different OS.
>
> Therefore we need your help to understand the behavior of all supported
> OS : please let us know if 'uname' command is supported on your OS and
> what is the return value.
> We need this information for all supported OS/distribution : linux
> Debian, linux Suse, linux Slackware, FreeBSD, OpenBSD, Darwin, IRIX,
> HPUX, etc
>
> Thanks for contributing !
--
Olivier BERGER <address@concealed> (ATTENTION : new address)
Ingénieur Recherche - Dept INF
GET/INT at Evry (http://www.int-edu.eu/)
OpenPGP-Id: 1024D/6B829EEC






Archive powered by MHonArc 2.6.19+.

Top of Page