File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,9 @@ function schema-breaking-version () {
50
50
local NEW=" bom-${1} .proto"
51
51
local OLD=" bom-${2} .proto"
52
52
53
- local NEW_NP=" $( mktemp) "
54
- local OLD_NP=" $( mktemp) "
53
+ local NEW_NP OLD_NP
54
+ NEW_NP=" $( mktemp) "
55
+ OLD_NP=" $( mktemp) "
55
56
56
57
# remove package identifier -> so that the comparisson works as expected
57
58
sed ' s/^package .*//' " ${ROOT_PATH} /${SCHEMA_DIR} /${NEW} " > " $NEW_NP "
@@ -116,10 +117,11 @@ function schema-functional () {
116
117
--to /dev/null
117
118
}
118
119
120
+ local SCHEMA_VERS
119
121
shopt -s globstar
120
122
for test_res in " $ROOT_PATH " /" $TEST_RES_DIR " /* /valid-* .textproto
121
123
do
122
- local SCHEMA_VERS=" $( basename " $( dirname " $test_res " ) " ) "
124
+ SCHEMA_VERS=" $( basename " $( dirname " $test_res " ) " ) "
123
125
validate " $test_res " " $SCHEMA_VERS "
124
126
done
125
127
You can’t perform that action at this time.
0 commit comments