Changeset 743 for trunk/dassbuild
- Timestamp:
- May 26, 2009, 3:48:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dassbuild/svn_build_prepare.sh
r741 r743 82 82 SVN_BUILD_RELEASE=${SVN_BUILD_RELEASE}p 83 83 REBUILD="yes" 84 else85 # check if RPM has been built already86 # TODO: this check is broken for OpenSUSE build service,87 # because version is changed later on88 EXPECTED_DEST_RPM_FILENAME=${DEST_DIR}/${BUILD_DIST}/${PACKAGE}-${VERSION}-${SVN_BUILD_RELEASE}.*.rpm89 if [ -f "$EXPECTED_DEST_RPM_FILENAME" ]; then90 echo91 echo "Build of \"${PACKAGE}\" unnecessary. Current RPM already at " $EXPECTED_DEST_RPM_FILENAME92 echo93 exit 194 fi95 84 fi 96 85 … … 102 91 fi 103 92 echo "SVN_BUILD_RELEASE: $SVN_BUILD_RELEASE" 104 93 echo "VERSION: $VERSION" 94 95 # 96 # check, if RPM should be build again 97 # 98 if [ -z "$REBUILD" ]; then 99 # check if RPM has been built already 100 # TODO: is this useful for OpenSUSE Build Service? 101 EXPECTED_DEST_RPM_FILENAME=${DEST_DIR}/${BUILD_DIST}/${PACKAGE}-${VERSION}-*.*.rpm 102 echo "EXPECTED_DEST_RPM_FILENAME: $EXPECTED_DEST_RPM_FILENAME" 103 if find $EXPECTED_DEST_RPM_FILENAME ; then 104 echo 105 echo "Build of \"${PACKAGE}\" unnecessary." 106 echo "Current RPM already at " $EXPECTED_DEST_RPM_FILENAME 107 echo 108 exit 1 109 fi 110 fi 111 105 112 printf "adding subversion changelog: " 106 113 # changelog header
Note:
See TracChangeset
for help on using the changeset viewer.