3
0
Fork 0
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:
Marc Weber 2008-04-15 17:05:28 +00:00
parent ec9950c07a
commit 5f5fb2ce5d

View file

@ -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