Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2008 16:18:31 +0800
From:      "Eric L. Chen" <d9364104@mail.nchu.edu.tw>
To:        wahjava.ml@gmail.com
Cc:        FreeBSD Ports List <freebsd-ports@freebsd.org>
Subject:   Re: Encountered a problem with GNOME gdm
Message-ID:  <1200989911.1800.0.camel@localhost>
In-Reply-To: <d9a03f10801181253q67e57ec8uf02f84c84dda93bb@mail.gmail.com>
References:  <d9a03f10801181253q67e57ec8uf02f84c84dda93bb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
I think use "/usr/bin/env bash" is better than "/usr/local/bin/bash" in
portability.

/Eric
On Sat, 2008-01-19 at 02:23 +0530, आशीष शुक्ल Ashish Shukla wrote:
> Hi,
> 
> I encountered a problem with gdm. The file
> "/usr/local/etc/gdm/Xsession" needs "/usr/local/bin/bash" for its
> execution, whereas "/bin/sh"  is specified. Following is the patch
> which will fix this problem. Is this already reported as PR, hmm...?
> 
> ----8<-----8<-----
> --- /usr/local/etc/gdm/Xsession~        2008-01-17 01:17:04.000000000 +0530
> +++ /usr/local/etc/gdm/Xsession 2008-01-18 23:55:39.000000000 +0530
> @@ -1,4 +1,4 @@
> -#!/bin/sh
> +#!/usr/local/bin/bash
>  #
>  # This is SORT OF LIKE an X session, but not quite.  You get a command as the
>  # first argument (it could be multiple words, so run it with "eval").  As a
> ---->8----->8-----
> 
> TIA
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1200989911.1800.0.camel>