Skip to content

Commit

Permalink
small correction to the yi executable path in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Desfosses committed Jul 17, 2014
1 parent 16f453f commit f2e492c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ $ cabal build
```

From cabal-install 1.20, Yi can be launched in an environment using the
sandbox's package DB using `cabal exec dist/build/Yi/yi`. It may be useful
sandbox's package DB using `cabal exec ./dist/build/yi/yi`. It may be useful
to create an alias or small script for this, along the lines of:

```
#!/bin/bash
YI_DIR=$HOME/programming/yi/yi
env CABAL_SANDBOX_CONFIG=$YI_DIR/cabal.sandbox.config cabal exec $YI_DIR/dist/build/Yi/yi "$@"
env CABAL_SANDBOX_CONFIG=$YI_DIR/cabal.sandbox.config cabal exec $YI_DIR/dist/build/yi/yi "$@"
```

The `"$@"` part means that all the
Expand Down

0 comments on commit f2e492c

Please sign in to comment.