Skip to content

Commit c7abbc6

Browse files
author
hernanmd
committed
Enable to run pi from any path (use BASH_SOURCE to locate VERSION and DATE files)
1 parent 36b17b0 commit c7abbc6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libexec/piEnvVars.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
## Pharo Installer Settings
88
#################################
99

10-
piVersion="$(<VERSION)"
11-
piDate="$(<DATE)"
10+
piDate="$(<${BASH_SOURCE%/*}/../DATE)"
11+
piVersion="$(<${BASH_SOURCE%/*}/../VERSION)"
12+
1213
cacheDir=$HOME/.pi/.pi-cache
1314
imageName="Pharo.image"
1415
zeroConfUrl="https://get.pharo.org"

0 commit comments

Comments
 (0)