mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-19 12:56:08 +00:00
Changing IHaskell to ihaskell
This commit is contained in:
parent
39a2725035
commit
c80ce6237f
14
build.sh
14
build.sh
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user