Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 09:14:46 +0000 (UTC)
From:      Hartmut Brandt <harti@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/make job.c job.h main.c
Message-ID:  <200505240914.j4O9EkrC043155@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
harti       2005-05-24 09:14:46 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/make         job.c job.h main.c 
  Log:
  Before doing any parsing parse the builtin shell specifications and
  set the current shell to DEFSHELL. Put all these specifications into
  a list. Add user specified new shells to this list. If the user
  just selects one of the already know shells just pick the right one
  off the list. This let's one do something like:
  
  # Full specification of the user's shell. This also selects the shell.
  .SHELL: name=myshell path=/somewhere/foo echo=loud ...
  
  FOO != bar              # use myshell here
  
  .SHELL: name=sh
  
  BAR != baz              # use /bin/sh here
  
  .SHELL: name=myshell    # no need for full spec here.
  
  # continue to use the user's special shell.
  
  Revision  Changes    Path
  1.116     +195 -178  src/usr.bin/make/job.c
  1.44      +2 -0      src/usr.bin/make/job.h
  1.152     +7 -0      src/usr.bin/make/main.c



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