summary refs log tree commit diff
path: root/pkgs/build-support/gcc-wrapper/setup-hook.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-04-18 22:22:51 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-04-18 22:22:51 +0000
commit6b9ccbaf78832521cddf38a318551ec0f0033716 (patch)
treeba057aca06f25f0f59204a0cfd9b74601ad7c76a /pkgs/build-support/gcc-wrapper/setup-hook.sh
parentba0682330dcca23680c085cf9586227ca3e39cf4 (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/setup-hook.sh')
-rw-r--r--pkgs/build-support/gcc-wrapper/setup-hook.sh6
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