Skip to content

Commit 4fc6634

Browse files
committed
when no arguments, must use --pass-raw-arguments option
1 parent 2dccb0c commit 4fc6634

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

bootstrap/scripts/4-build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,15 @@ ${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" perform --save -- BasicHer
141141
${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" loadHermes Math-Operations-Extensions.hermes Debugging-Core.hermes System-Time.hermes Multilingual-Encodings.hermes ReflectionMirrors-Primitives.hermes --save --no-fail-on-undeclared
142142

143143
# Now that System-Time is loaded, we can initialize the version
144-
${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" perform --save -- ChronologyConstants initialize
145-
${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" perform --save -- DateAndTime initialize
146-
${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" perform --save -- SystemVersion setMajor:minor:patch:suffix:build:commitHash: ${PHARO_MAJOR} ${PHARO_MINOR} ${PHARO_PATCH} ${PHARO_SUFFIX} ${BUILD_NUMBER} ${PHARO_COMMIT_HASH}
144+
${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" perform --save --pass-raw-arguments -- ChronologyConstants initialize
145+
${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" perform --save --pass-raw-arguments -- DateAndTime initialize
146+
${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" perform --save --pass-raw-arguments -- SystemVersion setMajor:minor:patch:suffix:build:commitHash: ${PHARO_MAJOR} ${PHARO_MINOR} ${PHARO_PATCH} ${PHARO_SUFFIX} ${BUILD_NUMBER} ${PHARO_COMMIT_HASH}
147147

148148
${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" loadHermes Collections-Atomic.hermes AST-Core.hermes Collections-Arithmetic.hermes System-NumberPrinting.hermes --save --no-fail-on-undeclared
149149

150150
echo $(date -u) "[Compiler] Initializing the packages in the Kernel"
151-
${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" perform --save -- PharoBootstrapFixMethodsTool fixMethodsIn: protocolsKernel.txt
152-
${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" perform --save -- PharoBootstrapFixMethodsTool fixExtensionMethods
151+
${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" perform --save --pass-raw-arguments -- PharoBootstrapFixMethodsTool fixMethodsIn: protocolsKernel.txt
152+
${VM} "${COMPILER_IMAGE_NAME}.image" "${IMAGE_FLAGS}" perform --save --pass-raw-arguments -- PharoBootstrapFixMethodsTool fixExtensionMethods
153153

154154
# Installing compiler through Hermes
155155
echo $(date -u) "[Compiler] Installing compiler through Hermes"

bootstrap/scripts/runKernelTests.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,21 @@ export PHARO_CI_TESTING_ENVIRONMENT=1
6060
./pharo bootstrap.image
6161
#Adding packages removed from the bootstrap
6262
./pharo bootstrap.image perform --save -- BasicHermesTool load: Clap-Core.hermes Clap-CommandLine.hermes Hermes-Extensions.hermes
63-
./pharo bootstrap.image perform --save -- Pragma buildCache
63+
./pharo bootstrap.image perform --save --pass-raw-arguments -- Pragma buildCache
6464
./pharo bootstrap.image perform -- ClapContext executeWithPragmaCommandsAndArguments: loadHermes System-Time.hermes AST-Core.hermes Random-Core.hermes System-NumberPrinting.hermes --save --no-fail-on-undeclared --on-duplication ignore
65-
./pharo bootstrap.image perform --save -- ChronologyConstants initialize
66-
./pharo bootstrap.image perform --save -- DateAndTime initialize
65+
./pharo bootstrap.image perform --save --pass-raw-arguments -- ChronologyConstants initialize
66+
./pharo bootstrap.image perform --save --pass-raw-arguments -- DateAndTime initialize
6767

6868
#Initializing the package manager
69-
./pharo bootstrap.image perform --save -- PharoBootstrapFixMethodsTool fixExtensionMethods
70-
./pharo bootstrap.image perform --save -- PharoBootstrapFixMethodsTool fixMethodsIn: protocolsKernel.txt
69+
./pharo bootstrap.image perform --save --pass-raw-arguments -- PharoBootstrapFixMethodsTool fixExtensionMethods
70+
./pharo bootstrap.image perform --save --pass-raw-arguments -- PharoBootstrapFixMethodsTool fixMethodsIn: protocolsKernel.txt
7171

7272
#Load traits
7373
./pharo bootstrap.image loadHermes Traits.hermes --save
7474

7575
#Loading Tests
7676
./pharo bootstrap.image loadHermes Debugging-Utils.hermes SUnit-Core.hermes JenkinsTools-Core.hermes JenkinsTools-Core.hermes SUnit-Tests.hermes --save --no-fail-on-undeclared --on-duplication ignore
77-
./pharo bootstrap.image perform --save -- Pragma buildCache
77+
./pharo bootstrap.image perform --save --pass-raw-arguments -- Pragma buildCache
7878

7979
#Running tests
8080
./pharo bootstrap.image test --junit-xml-output --stage-name ${2} SUnit-Core SUnit-Tests

0 commit comments

Comments
 (0)