git: sh: Do parameter expansion on ENV before using it.

Peter Avalos pavalos at crater.dragonflybsd.org
Sun Aug 21 16:33:26 PDT 2011


commit ccbebcd9aeb9c9d465a3e1204596cc6d0e145278
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Sun Aug 21 13:38:33 2011 -0700

    sh: Do parameter expansion on ENV before using it.
    
    This is required by POSIX, and allows things like ENV=\$HOME/.shrc.
    
    Obtained-from:   FreeBSD 222957

Summary of changes:
 bin/sh/main.c                             |   12 +++++++++---
 bin/sh/sh.1                               |    6 +++---
 tools/regression/bin/sh/parameters/env1.0 |   11 +++++++++++
 3 files changed, 23 insertions(+), 6 deletions(-)
 create mode 100644 tools/regression/bin/sh/parameters/env1.0

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ccbebcd9aeb9c9d465a3e1204596cc6d0e145278


-- 
DragonFly BSD source repository





More information about the Commits mailing list