Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell11
提交
43746283
D
dragonwell11
项目概览
openanolis
/
dragonwell11
通知
7
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell11
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
43746283
编写于
1月 30, 2013
作者:
K
katleman
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
3f24bf87
3d4bc5cb
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
37 addition
and
2 deletion
+37
-2
common/autoconf/jdk-options.m4
common/autoconf/jdk-options.m4
+2
-1
common/autoconf/libraries.m4
common/autoconf/libraries.m4
+6
-0
common/bin/compare.sh
common/bin/compare.sh
+29
-1
未找到文件。
common/autoconf/jdk-options.m4
浏览文件 @
43746283
...
...
@@ -389,7 +389,8 @@ if test "x$with_milestone" = xyes; then
AC_MSG_ERROR([Milestone must have a value])
elif test "x$with_milestone" != x; then
MILESTONE="$with_milestone"
else
fi
if test "x$MILESTONE" = x; then
MILESTONE=internal
fi
...
...
common/autoconf/libraries.m4
浏览文件 @
43746283
...
...
@@ -136,6 +136,12 @@ fi
AC_PATH_X
AC_PATH_XTRA
# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
# this doesn't make sense so we remove it.
if test "x$COMPILE_TYPE" = xcross; then
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[[^ ]]*//g'`
fi
if test "x$no_x" = xyes && test "x$X11_NOT_NEEDED" != xyes; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find X11 libraries. $HELP_MSG])
...
...
common/bin/compare.sh
浏览文件 @
43746283
...
...
@@ -350,9 +350,15 @@ compare_zip_file() {
OTHER_DIR
=
$2
WORK_DIR
=
$3
ZIP_FILE
=
$4
# Optionally provide different name for other zipfile
OTHER_ZIP_FILE
=
$5
THIS_ZIP
=
$THIS_DIR
/
$ZIP_FILE
OTHER_ZIP
=
$OTHER_DIR
/
$ZIP_FILE
if
[
-n
"
$OTHER_ZIP_FILE
"
]
;
then
OTHER_ZIP
=
$OTHER_DIR
/
$OTHER_ZIP_FILE
else
OTHER_ZIP
=
$OTHER_DIR
/
$ZIP_FILE
fi
THIS_SUFFIX
=
"
${
THIS_ZIP
##*.
}
"
OTHER_SUFFIX
=
"
${
OTHER_ZIP
##*.
}
"
...
...
@@ -962,6 +968,9 @@ if [ -z "$1" ] || [ "$1" = "-h" ] || [ "$1" = "-?" ] || [ "$1" = "/h" ] || [ "$1
echo
"[FILTER] List filenames in the image to compare, works for jars, zips, libs and execs"
echo
"Example:"
echo
"bash ./common/bin/compareimages.sh CodePointIM.jar"
echo
""
echo
"-2zips <file1> <file2> Compare two zip files only"
echo
""
exit
10
fi
...
...
@@ -1023,6 +1032,13 @@ while [ -n "$1" ]; do
-execs
)
CMP_EXECS
=
true
;;
-2zips
)
CMP_2_ZIPS
=
true
THIS_FILE
=
$2
OTHER_FILE
=
$3
shift
shift
;;
*
)
CMP_NAMES
=
false
CMP_PERMS
=
false
...
...
@@ -1041,6 +1057,18 @@ while [ -n "$1" ]; do
shift
done
if
[
"
$CMP_2_ZIPS
"
=
"true"
]
;
then
THIS_DIR
=
"
$(
dirname
$THIS_FILE
)
"
THIS_DIR
=
"
$(
cd
"
$THIS_DIR
"
&&
pwd
)
"
OTHER_DIR
=
"
$(
dirname
$OTHER_FILE
)
"
OTHER_DIR
=
"
$(
cd
"
$OTHER_DIR
"
&&
pwd
)
"
THIS_FILE_NAME
=
"
$(
basename
$THIS_FILE
)
"
OTHER_FILE_NAME
=
"
$(
basename
$OTHER_FILE
)
"
echo
Comparing
$THIS_DIR
/
$THIS_FILE_NAME
and
$OTHER_DIR
/
$OTHER_FILE_NAME
compare_zip_file
$THIS_DIR
$OTHER_DIR
$COMPARE_ROOT
/2zips
$THIS_FILE_NAME
$OTHER_FILE_NAME
exit
fi
if
[
"
$CMP_NAMES
"
=
"false"
]
&&
[
"
$CMP_TYPES
"
=
"false"
]
&&
[
"
$CMP_PERMS
"
=
"false"
]
&&
[
"
$CMP_GENERAL
"
=
"false"
]
&&
[
"
$CMP_ZIPS
"
=
"false"
]
&&
[
"
$CMP_JARS
"
=
"false"
]
&&
[
"
$CMP_LIBS
"
=
"false"
]
&&
[
"
$CMP_EXECS
"
=
"false"
]
;
then
CMP_NAMES
=
true
CMP_PERMS
=
true
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录