rebase
This commit is contained in:
parent
f4a2cbd5f4
commit
f225bc18df
@ -20,6 +20,7 @@ function compare(){
|
|||||||
if [ ! -f ${projectName}_oss.info ]; then
|
if [ ! -f ${projectName}_oss.info ]; then
|
||||||
touch ${projectName}_oss.info
|
touch ${projectName}_oss.info
|
||||||
fi
|
fi
|
||||||
|
echo ossPath: oss://${ossPath}$fileName
|
||||||
( ossutil stat oss://${ossPath}$fileName | head -n -2) > ${projectName}_upstream_oss.info
|
( ossutil stat oss://${ossPath}$fileName | head -n -2) > ${projectName}_upstream_oss.info
|
||||||
upstreamOssInfoMd5=$(md5sum ${projectName}_upstream_oss.info)
|
upstreamOssInfoMd5=$(md5sum ${projectName}_upstream_oss.info)
|
||||||
upstreamOssInfoMd5="${upstreamOssInfoMd5% *}"
|
upstreamOssInfoMd5="${upstreamOssInfoMd5% *}"
|
||||||
@ -31,7 +32,7 @@ function compare(){
|
|||||||
cat ${projectName}_upstream_oss.info
|
cat ${projectName}_upstream_oss.info
|
||||||
echo "localTem:" $(pwd)/${projectName}_oss.info
|
echo "localTem:" $(pwd)/${projectName}_oss.info
|
||||||
cat ${projectName}_oss.info
|
cat ${projectName}_oss.info
|
||||||
if [ "${upstreamOssInfoMd5}" = "${locOssInfoMd5}" ];then
|
if [ "${upstreamOssInfoMd5}" = "${locOssInfoMd5}" || ];then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user