Encountered a problem with GNOME gdm

Eric L. Chen d9364104 at mail.nchu.edu.tw
Tue Jan 22 00:34:06 PST 2008


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



More information about the freebsd-ports mailing list