File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -276,11 +276,14 @@ function quoted_print() {
276
276
python -c ' import pipes; import sys; print(" ".join(pipes.quote(arg) for arg in sys.argv[1:]))' " $@ "
277
277
}
278
278
279
-
280
279
function toupper() {
281
280
echo " $@ " | tr ' [:lower:]' ' [:upper:]'
282
281
}
283
282
283
+ function tolower() {
284
+ echo " $@ " | tr ' [:upper:]' ' [:lower:]'
285
+ }
286
+
284
287
function true_false() {
285
288
case " $1 " in
286
289
false | FALSE | 0 | " " )
@@ -406,7 +409,7 @@ function set_build_options_for_host() {
406
409
--foundation " $( build_directory ${host} foundation) "
407
410
--build-dir " $( build_directory ${host} playgroundlogger) "
408
411
--swift-build-dir " $( build_directory ${host} swift) "
409
- --$( python -c ' import sys; print sys.argv[1].lower() ' ${PLAYGROUNDLOGGER_BUILD_TYPE} )
412
+ --$( tolower " ${PLAYGROUNDLOGGER_BUILD_TYPE} " )
410
413
)
411
414
;;
412
415
linux-armv6)
You can’t perform that action at this time.
0 commit comments