forked from mirrors/nixpkgs
exposing /bin/* as well because of helper applications such as hsc2hs
svn path=/nixpkgs/trunk/; revision=11636
This commit is contained in:
parent
ec9950c07a
commit
5f5fb2ce5d
|
@ -37,7 +37,7 @@ EOF
|
|||
for i in `echo $GHC_PACKAGE_PATH | sed 's/:/ /g'`; do
|
||||
o=\${i/lib*/}
|
||||
o=\${i/nix-support*/}
|
||||
for j in `find \${o}bin/ -type f 2>/dev/null` `find \${o}usr/local/bin/ -type f 2>/dev/null`; do
|
||||
for j in \$ghc/bin/* `find \${o}bin/ -type f 2>/dev/null` `find \${o}usr/local/bin/ -type f 2>/dev/null`; do
|
||||
b=`basename \$j`
|
||||
if [ \$b == sh ]; then continue; fi
|
||||
if [ \$b == bash ]; then continue; fi
|
||||
|
|
Loading…
Reference in a new issue