From 6b9ccbaf78832521cddf38a318551ec0f0033716 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 18 Apr 2009 22:22:51 +0000 Subject: * 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 --- pkgs/build-support/gcc-wrapper/setup-hook.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/build-support/gcc-wrapper/setup-hook.sh') 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 -- cgit 1.4.1