Skip to content

Commit

Permalink
[MINOR] update pio script, support soft link
Browse files Browse the repository at this point in the history
Closes apache#289
  • Loading branch information
robberphex authored and dszeto committed Sep 21, 2016
1 parent 6b2c60a commit efbc3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pio
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ search() {
echo ${i}
}

export PIO_HOME="$(cd `dirname $0`/..; pwd)"
export PIO_HOME="$(cd $(dirname $(readlink -f $0))/..; pwd)"

export PIO_CONF_DIR="${PIO_HOME}/conf"

Expand Down

0 comments on commit efbc3e3

Please sign in to comment.