diff options
author | Junghyun Kim <jh0822.kim@samsung.com> | 2017-01-10 07:47:07 +0900 |
---|---|---|
committer | Junghyun Kim <jh0822.kim@samsung.com> | 2017-01-10 07:48:29 +0900 |
commit | 808ddc156a76d1a5275c9591264b6a5886d9a37d (patch) | |
tree | 6d3c7a54d7e8b945c6ba0e52e30fcd2e421bb347 | |
parent | 2c7031f15715af60e28766869a6551095afca72f (diff) | |
download | build-compare-tizen_5.5_base_wearable_hotfix.tar.gz build-compare-tizen_5.5_base_wearable_hotfix.tar.bz2 build-compare-tizen_5.5_base_wearable_hotfix.zip |
BUGFIXED: source functions.sh in same-build-result.shtizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasetizen_6.0.m2_releasetizen_5.5.m2_releasetizen_4.0.m2_releasetizen_4.0.m1_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_base/20170110.011625submit/tizen_7.0_base_hotfix/20221115.161501submit/tizen_7.0_base/20221028.200901submit/tizen_6.5_base/20211027.200501submit/tizen_6.5_base/20211027.183101submit/tizen_6.5_base/20211026.180901submit/tizen_6.0_base_hotfix/20201102.162701submit/tizen_6.0_base_hotfix/20201030.192501submit/tizen_6.0_base/20201029.184801submit/tizen_5.5_base_wearable_hotfix/20201023.155601submit/tizen_5.5_base_mobile_hotfix/20201023.171501submit/tizen_5.5_base/20191030.000001submit/tizen_5.0_base/20181101.000001submit/tizen_4.0_base/20170828.000001submit/tizen_4.0_base/20170828.000000submit/tizen_4.0_base/20170811.071500accepted/tizen/base/20240510.024458accepted/tizen/base/20230714.003248accepted/tizen/base/20170120.121738accepted/tizen/8.0/base/20231005.044618accepted/tizen/7.0/base/tool/hotfix/20221115.084745accepted/tizen/7.0/base/tool/20221028.112953accepted/tizen/7.0/base/hotfix/20230714.003658accepted/tizen/7.0/base/20230714.002843accepted/tizen/6.5/base/tool/20211027.112404accepted/tizen/6.5/base/20230714.002433accepted/tizen/6.0/base/tool/hotfix/20201102.085834accepted/tizen/6.0/base/tool/hotfix/20201030.124654accepted/tizen/6.0/base/tool/20201029.111846accepted/tizen/6.0/base/20230713.142803accepted/tizen/6.0/base/20201029.110252accepted/tizen/5.5/base/wearable/hotfix/20201023.081019accepted/tizen/5.5/base/mobile/hotfix/20201023.084638accepted/tizen/5.5/base/20191030.082623accepted/tizen/5.0/base/20181101.090527accepted/tizen/4.0/base/20170828.221125accepted/tizen/4.0/base/20170811.092756tizen_8.0_basetizen_7.0_base_hotfixtizen_7.0_basetizen_6.5_basetizen_6.0_base_hotfixtizen_6.0_basetizen_5.5_tvtizen_5.5_base_wearable_hotfixtizen_5.5_base_mobile_hotfixtizen_5.5_basetizen_5.0_basetizen_4.0_tvtizen_4.0_baseaccepted/tizen_base_toolaccepted/tizen_8.0_baseaccepted/tizen_7.0_base_tool_hotfixaccepted/tizen_7.0_base_toolaccepted/tizen_7.0_base_hotfixaccepted/tizen_7.0_baseaccepted/tizen_6.5_base_toolaccepted/tizen_6.5_baseaccepted/tizen_6.0_base_tool_hotfixaccepted/tizen_6.0_base_toolaccepted/tizen_6.0_baseaccepted/tizen_5.5_base_wearable_hotfixaccepted/tizen_5.5_base_mobile_hotfixaccepted/tizen_5.5_baseaccepted/tizen_5.0_baseaccepted/tizen_4.0_base
This is required to check whether the project is
prerelease/trbs project or not.
Change-Id: Ib90c9598d72d6dc713d0a49e6d6f1f26d501a92f
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
-rw-r--r-- | packaging/same-build-result.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/same-build-result.sh b/packaging/same-build-result.sh index 2e879e4..701ccf2 100644 --- a/packaging/same-build-result.sh +++ b/packaging/same-build-result.sh @@ -13,6 +13,7 @@ CMPSCRIPT=${0%/*}/pkg-diff.sh SCMPSCRIPT=${0%/*}/srpm-check.sh +FUNCTIONS=${0%/*}/functions.sh check_all=1 OLDDIR="$1" @@ -30,6 +31,8 @@ if [ -z "$NEWDIRS" ]; then exit 1 fi +source $FUNCTIONS + first_rpm=$(find $NEWDIRS -name *.rpm | head -1) dist=$(rpm -qp --nodigest --nosignature --qf "%{DISTRIBUTION}" $first_rpm | sed -r 's/(.*)\/.*/\1/') prerelease=0 @@ -41,7 +44,7 @@ if ! is_prerelease_project $dist; then num_old_pkgs=`find $OLDDIR -name '*.rpm' -and ! -name '*.delta.rpm' -and ! -name '*.src.rpm' | wc -l` if test $num_new_pkgs != $num_old_pkgs; then echo "different number of subpackages" - find $OLDDIR $NEWDIRS -name '*.rpm' -and ! -name '*.delta.rpm' + find $OLDDIR $NEWDIRS -name '*.rpm' -and ! -name '*.delta.rpm' -and ! -name '*.src.rpm' exit 1 fi |