/[gentoo-x86]/eclass/java-ant-2.eclass
Gentoo

Diff of /eclass/java-ant-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
106 106
107 cd "${S}" 107 cd "${S}"
108 108
109 local find_args="" 109 local find_args=""
110 [[ "${JAVA_PKG_BSFIX_ALL}" == "yes" ]] || find_args="-maxdepth 1" 110 [[ "${JAVA_PKG_BSFIX_ALL}" == "yes" ]] || find_args="-maxdepth 1"
111 111
112 find_args="${find_args} -type f -name ${JAVA_PKG_BSFIX_NAME// / -o -name } " 112 find_args="${find_args} -type f -name ${JAVA_PKG_BSFIX_NAME// / -o -name } "
113 113
114 local i=0 114 local i=0
115 local -a bsfix_these 115 local -a bsfix_these
116 while read line; do 116 while read line; do
117 [[ -z ${line} ]] && continue 117 [[ -z ${line} ]] && continue
118 bsfix_these[${i}]="${line}" 118 bsfix_these[${i}]="${line}"
119 let i+=1 119 let i+=1
120 done <<-EOF 120 done <<-EOF
121 $(find . ${find_args}) 121 $(find . ${find_args})
122 EOF 122 EOF
123 123
124 for (( i = 0 ; i < ${#bsfix_these[@]} ; i++ )); do 124 for (( i = 0 ; i < ${#bsfix_these[@]} ; i++ )); do
125 local file="${bsfix_these[${i}]}" 125 local file="${bsfix_these[${i}]}"

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20