File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tools/apigee-sackmesser/cmd/deploy Expand file tree Collapse file tree 1 file changed +2
-2
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 [ ! -f " $temp_folder /apiproxy/ *.xml" ]; then
125+ if [ -z " $( find $ temp_folder /apiproxy -type f -name " *.xml" -d 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 [ ! -f " $temp_folder /sharedflowbundle/ *.xml" ]; then
158+ if [ -z " $( find $ temp_folder /sharedflowbundle -type f -name " *.xml" -d 1 ) " ]; then
159159 if [ -z " $bundle_name " ]; then
160160 bundle_name=$( basename " $source_dir " )
161161 fi
You can’t perform that action at this time.
0 commit comments