Skip to content

Commit

Permalink
Enable to run pi from any path (use BASH_SOURCE to locate VERSION and…
Browse files Browse the repository at this point in the history
… DATE files)
  • Loading branch information
hernanmd committed Jan 26, 2020
1 parent 36b17b0 commit c7abbc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libexec/piEnvVars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
## Pharo Installer Settings
#################################

piVersion="$(<VERSION)"
piDate="$(<DATE)"
piDate="$(<${BASH_SOURCE%/*}/../DATE)"
piVersion="$(<${BASH_SOURCE%/*}/../VERSION)"

cacheDir=$HOME/.pi/.pi-cache
imageName="Pharo.image"
zeroConfUrl="https://get.pharo.org"
Expand Down

0 comments on commit c7abbc6

Please sign in to comment.