File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change
1
+ #
2
+ # Licensed under the Apache License, Version 2.0 (the "License");
3
+ # you may not use this file except in compliance with the License.
4
+ # You may obtain a copy of the License at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # Unless required by applicable law or agreed to in writing, software
9
+ # distributed under the License is distributed on an "AS IS" BASIS,
10
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ # See the License for the specific language governing permissions and
12
+ # limitations under the License.
13
+ #
14
+ ct.sym
15
+ jexec
16
+ tools.jar
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ del_list="${scriptdir}/slim-java_rtjar_del.list"
45
45
del_jmod_list=" ${scriptdir} /slim-java_jmod_del.list"
46
46
# bin files to be deleted
47
47
del_bin_list=" ${scriptdir} /slim-java_bin_del.list"
48
+ # lib files to be deleted
49
+ del_lib_list=" ${scriptdir} /slim-java_lib_del.list"
48
50
49
51
# We only support 64 bit builds now
50
52
proc_type=" 64bit"
@@ -250,9 +252,10 @@ function bin_files() {
250
252
function lib_files() {
251
253
echo -n " INFO: Trimming bin dir..."
252
254
pushd ${target} /lib > /dev/null
253
- rm -f ct.sym
254
- rm -f jexec
255
- rm -f tools.jar
255
+ for binfile in $( cat ${del_lib_list} | grep -v " ^#" ) ;
256
+ do
257
+ rm -rf ${binfile}
258
+ done
256
259
popd > /dev/null
257
260
}
258
261
You can’t perform that action at this time.
0 commit comments