Skip to content

Commit 7794412

Browse files
committed
doing a pass on the script and wrappers that they do not polute the path with pharo but pharoForPillar
1 parent 59a028a commit 7794412

5 files changed

Lines changed: 16 additions & 33 deletions

File tree

scripts/build.sh

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,20 @@ PHARO_VERSION="${PHARO_VERSION:-130}"
3333

3434
rm -rf "${__builddir}" && mkdir -p "${__builddir}" && cd "${__builddir}"
3535

36-
if command -v pharo >/dev/null 2>&1; then
37-
echo "pharo is in PATH"
38-
PHARO_VM_BIN="pharo"
39-
wget -O - get.pharo.org/64/${PHARO_VERSION} | bash
40-
else
41-
echo "pharo not found in PATH"
42-
wget -O - get.pharo.org/64/${PHARO_VERSION}+vm | bash
43-
PHARO_VM_BIN="./pharo"
44-
fi
36+
#if command -v pharo >/dev/null 2>&1; then
37+
# echo "pharo is in PATH"
38+
# PHARO_VM_BIN="pharo"
39+
# wget -O - get.pharo.org/64/${PHARO_VERSION} | bash
40+
#else
41+
# echo "pharo not found in PATH"
42+
# wget -O - get.pharo.org/64/${PHARO_VERSION}+vm | bash
43+
# PHARO_VM_BIN="./pharo"
44+
#fi
4545

46+
wget -O - get.pharo.org/64/${PHARO_VERSION}+vm | bash
47+
mv ./pharo ./pharoForPillar
48+
mv ./pharo-ui ./pharoForPillar-ui
49+
PHARO_VM_BIN="./pharoForPillar"
4650
PHARO="$PHARO_VM_BIN Pharo.image --no-default-preferences"
4751

4852
REPOSITORY_PATH=${__dir}/../src

scripts/wrappers/mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -o nounset
77

88
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
99

10-
PHARO_VM="${__dir}/pharo"
10+
PHARO_VM="${__dir}/pharoForPillar"
1111
PILLAR_IMAGE="${__dir}/Pharo.image"
1212

1313
#Read pillar command

scripts/wrappers/pillar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set -o nounset
1111
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1212

1313

14-
PHARO_VM="${__dir}/pharo"
14+
PHARO_VM="${__dir}/pharoForPillar"
1515
PILLAR_IMAGE="${__dir}/Pharo.image"
1616

1717
# disable parameter expansion to forward all arguments unprocessed to the VM

scripts/wrappers/pillar-db

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -o nounset
77

88
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
99

10-
PHARO_VM="${__dir}/pharo-ui"
10+
PHARO_VM="${__dir}/pharoForPillar-ui"
1111
PILLAR_IMAGE="${__dir}/Pharo.image"
1212

1313
# disable parameter expansion to forward all arguments unprocessed to the VM

scripts/wrappers/pillar-dev-upgrade

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)