From 37ff19400f32e1cf09027404404cc74b98302d3c Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Wed, 27 Dec 2023 20:58:12 -0500 Subject: [PATCH] Quote eclipse in cleanup script (#661) This is to support cases where eclipse is installed in path with spaces --- releng/scripts/do_format_code.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releng/scripts/do_format_code.sh b/releng/scripts/do_format_code.sh index 45e2206e9c3..e20a2c4890a 100755 --- a/releng/scripts/do_format_code.sh +++ b/releng/scripts/do_format_code.sh @@ -37,7 +37,7 @@ if test -e check_code_cleanliness_workspace; then echo check_code_cleanliness_workspace needs to be deleted exit 1 fi -${ECLIPSE} \ +"${ECLIPSE}" \ -consolelog -nosplash -application org.eclipse.jdt.core.JavaCodeFormatter \ -config $CDTDIR/$COREPROJECT/.settings/org.eclipse.jdt.core.prefs \ $PWD -data check_code_cleanliness_workspace