[Spice-devel] [PATCH 6/6] Fetching script: fix setting up environment for spice build

Christophe Fergeau cfergeau at redhat.com
Tue Apr 7 05:23:01 PDT 2015


Hey,

On Thu, Apr 02, 2015 at 06:20:54PM +0300, Kirill Moizik wrote:
> From: Kirill Moizik <kmoizik at redhat.com>
> 
> after this fix no need to copy jhbuildrc manualy or perform any other action.
> After script finished  developer can run jhbuild bootstrap; jhbuild build  and this will build remote viewer
> 
> Signed-off-by: Kirill Moizik <kmoizik at redhat.com>
> ---
>  spice-osx-build-setup.sh | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/spice-osx-build-setup.sh b/spice-osx-build-setup.sh
> index 4934ed7..678d9bb 100755
> --- a/spice-osx-build-setup.sh
> +++ b/spice-osx-build-setup.sh
> @@ -56,6 +56,7 @@ fi
>  echo "Installing spice-jhbuild configuration..."
>  if [ ! -f $HOME/.jhbuildrc-spice ]; then
>      cp jhbuildrc ~/.jhbuildrc-spice
> +    export JBH='spice'

Is this working on OSX? The script is running in a shell spawned in
a child process, so I expect the export to only work for this subshell
and the processes it spawns. I don't think this export will get
propagated to the parent shell (the one which started
spice-osx-build-setup.sh).

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150407/7ac0ddb0/attachment.sig>


More information about the Spice-devel mailing list