File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tools/apigee-sackmesser/cmd Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ skip_deployment=true #skip maven deploy unless bundle contains proxy or shared f
122122if [ -d " $temp_folder /apiproxy" ]; then
123123 loginfo " Configuring API Proxy"
124124
125- if [ -z " $( find " $temp_folder /apiproxy" -type f -name " *.xml" -d 1) " ]; then
125+ if [ -z " $( find " $temp_folder /apiproxy" -type f -name " *.xml" -maxdepth 1 -mindepth 1) " ]; then
126126 if [ -z " $bundle_name " ]; then
127127 bundle_name=$( basename " $source_dir " )
128128 fi
@@ -155,7 +155,7 @@ elif [ -d "$temp_folder/sharedflowbundle" ]; then
155155
156156 skip_deployment=false
157157
158- if [ -z " $( find " $temp_folder /sharedflowbundle" -type f -name " *.xml" -d 1) " ]; then
158+ if [ -z " $( find " $temp_folder /sharedflowbundle" -type f -name " *.xml" -maxdepth 1 -mindepth 1) " ]; then
159159 if [ -z " $bundle_name " ]; then
160160 bundle_name=$( basename " $source_dir " )
161161 fi
Original file line number Diff line number Diff line change 204204 echo " <td>$policycount </td>" >> " $report_html "
205205 echo " <td>$flowcount </td>" >> " $report_html "
206206 echo " </tr>" >> " $report_html "
207- done < <( find " $export_folder /apigeelint/proxies/" * .json -print0)
207+ done < <( " $export_folder /apigeelint/proxies/" * .json -print0)
208208
209209echo " </tbody></table></div>" >> " $report_html "
210210
You can’t perform that action at this time.
0 commit comments