> Does anyone know how to make something like:
> 
> export HOME=~${USER}
> 
> actually work in sh?
> 
> export HOME=/home/mythtv
> and
> export HOME=~mythtv
> 
> both set HOME to /home/mythtv
> 
> but having USER as a variable sets HOME to "~mythtv" which is then not 
> expanded into "/home/mythtv".
> 
> Anyway, it seems adding one of the first two to the init script fixes 
> the problem I was having, so that patch is not needed.

try 
export HOME=`eval "echo ~$USER"`
may be a better way of course but this works
mark
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to