Commit c80ce623 authored by Andrew Gibiansky's avatar Andrew Gibiansky

Changing IHaskell to ihaskell

parent 39a27250
...@@ -2,16 +2,16 @@ ...@@ -2,16 +2,16 @@
set -e set -e
print_help () { print_help () {
echo "Run build.sh from inside the IHaskell directory to install packages in this repository:" 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 ihaskell # Install ihaskell and its dependencies"
echo " ./build.sh quick # Install IHaskell, but not 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 all # Install ihaskell, dependencies, and all display packages"
echo " ./build.sh display # Install IHaskell and display libraries" echo " ./build.sh display # Install ihaskell and display libraries"
echo 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 if [ ! -e ihaskell.cabal ]; then
print_help; print_help;
exit 1 exit 1
......
...@@ -232,9 +232,9 @@ getIHaskellPath = do ...@@ -232,9 +232,9 @@ getIHaskellPath = do
-- variable to find where IHaskell lives. -- variable to find where IHaskell lives.
if FS.filename f == f if FS.filename f == f
then do then do
ihaskellPath <- which "IHaskell" ihaskellPath <- which "ihaskell"
case ihaskellPath of 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 Just path -> return $ FS.encodeString path
else do else do
-- If it's actually a relative path, make it absolute. -- If it's actually a relative path, make it absolute.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment