Changing IHaskell to ihaskell

This commit is contained in:
Andrew Gibiansky 2015-03-10 16:41:11 -07:00
parent 39a2725035
commit c80ce6237f
2 changed files with 9 additions and 9 deletions

View File

@ -2,16 +2,16 @@
set -e
print_help () {
echo "Run build.sh from inside the IHaskell directory to install packages in this repository:"
echo " ./build.sh ihaskell # Install IHaskell and its dependencies"
echo " ./build.sh quick # Install IHaskell, but not its dependencies"
echo " ./build.sh all # Install IHaskell, dependencies, and all display packages"
echo " ./build.sh display # Install IHaskell and display libraries"
echo "Run build.sh from inside the ihaskell directory to install packages in this repository:"
echo " ./build.sh ihaskell # Install ihaskell and its dependencies"
echo " ./build.sh quick # Install ihaskell, but not its dependencies"
echo " ./build.sh all # Install ihaskell, dependencies, and all display packages"
echo " ./build.sh display # Install ihaskell and display libraries"
echo
echo "If this is your first time installing IHaskell, run './build.sh ihaskell'."
echo "If this is your first time installing ihaskell, run './build.sh ihaskell'."
}
# Verify that we're in the IHaskell directory.
# Verify that we're in the ihaskell directory.
if [ ! -e ihaskell.cabal ]; then
print_help;
exit 1

View File

@ -232,9 +232,9 @@ getIHaskellPath = do
-- variable to find where IHaskell lives.
if FS.filename f == f
then do
ihaskellPath <- which "IHaskell"
ihaskellPath <- which "ihaskell"
case ihaskellPath of
Nothing -> error "IHaskell not on $PATH and not referenced relative to directory."
Nothing -> error "ihaskell not on $PATH and not referenced relative to directory."
Just path -> return $ FS.encodeString path
else do
-- If it's actually a relative path, make it absolute.