Debian Developers - Re: please fix your RC bugs

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > August 2005 > Re: please fix your RC bugs





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: please fix your RC bugs
Philip Brown

2005-08-10, 5:55 pm

On Mon, Aug 01, 2005 at 08:45:10AM -0500, Steve Greenland wrote:
> [1] Useful fragment for cross platform shell scripts:
>
> #!/bin/sh
> # Do the Solaris Dance:
> if [ ! -d ~root ] ; then
> exec /usr/xpg4/bin/sh $0 "$@"
> fi


Umm.. Ick.... it woudl be better as

if [ -x /usr/xpg4/bin/sh ] ; then


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com