Go go go!

Albert Y. C. Lai trebla at vex.net
Wed Mar 9 23:30:32 GMT 2011


A small bug in scripts/build.sh (has been there in previous versions):

# Actually do something!
for pkg in `cat packages/platform.packages`; do
  if is_pkg_installed "${pkg}"; then
    true
  else
    echo '**************************************************'
    echo "Building ${PKG}"
    build_pkg "${pkg}"
  fi
done

${PKG} there should be corrected to ${pkg}

${PKG} refers to the package built in the previous iteration. (See function
build_pkg. ${PKG} is erroneously made a global variable.)




More information about the Haskell-platform mailing list