Skip to content

Commit

Permalink
Attempt to get rid of cd; pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Mar 1, 2012
1 parent cadea18 commit 29fc3ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions bin/elixir
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ fi

SELF=`readlink $0 || echo $0`
SCRIPT_PATH=`dirname $SELF`
ELIXIR_PATH=`cd $SCRIPT_PATH; cd ..; pwd`
erl -pa $ELIXIR_PATH/ebin $ELIXIR_PATH/exbin -noshell -noinput $ELIXIR_ERL_OPTS -s elixir start -extra "$@"
erl -pa $SCRIPT_PATH/../ebin $SCRIPT_PATH/../exbin -noshell -noinput $ELIXIR_ERL_OPTS -s elixir start -extra "$@"
3 changes: 1 addition & 2 deletions bin/elixirc
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ if [ $# -eq 0 ]; then
fi
SELF=`readlink $0 || echo $0`
SCRIPT_PATH=`dirname $SELF`
ELIXIR_PATH=`cd $SCRIPT_PATH; pwd`
$ELIXIR_PATH/elixir +compile "$@"
$SCRIPT_PATH/elixir +compile "$@"

0 comments on commit 29fc3ae

Please sign in to comment.