diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-04-18 22:22:51 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-04-18 22:22:51 +0000 |
commit | 6b9ccbaf78832521cddf38a318551ec0f0033716 (patch) | |
tree | ba057aca06f25f0f59204a0cfd9b74601ad7c76a /pkgs/build-support/gcc-wrapper | |
parent | ba0682330dcca23680c085cf9586227ca3e39cf4 (diff) |
* setup.sh: turn on nullglob globally.
* setup.sh: removed some obsolete features, specifically some that were only used by the old build farm. * addToSearchPath: removed some parameters that weren't used anywhere. svn path=/nixpkgs/branches/stdenv-updates/; revision=15136
Diffstat (limited to 'pkgs/build-support/gcc-wrapper')
-rw-r--r-- | pkgs/build-support/gcc-wrapper/setup-hook.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/build-support/gcc-wrapper/setup-hook.sh b/pkgs/build-support/gcc-wrapper/setup-hook.sh index 60aad0fe4dc67..76167df3c31cf 100644 --- a/pkgs/build-support/gcc-wrapper/setup-hook.sh +++ b/pkgs/build-support/gcc-wrapper/setup-hook.sh @@ -17,13 +17,13 @@ envHooks=(${envHooks[@]} addCVars) # Note: these come *after* $out in the PATH (see setup.sh). if test -n "@gcc@"; then - PATH=$PATH:@gcc@/bin + addToSearchPath PATH @gcc@/bin fi if test -n "@binutils@"; then - PATH=$PATH:@binutils@/bin + addToSearchPath PATH @binutils@/bin fi if test -n "@libc@"; then - PATH=$PATH:@libc@/bin + addToSearchPath PATH @libc@/bin fi |