Changeset 736
- Timestamp:
- May 14, 2009, 6:25:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/technical/common/build/svn_build_prepare.sh
r731 r736 53 53 if [ "$1" ]; then 54 54 EXPECTED_DEST_RPM_FILENAME=${DEST_DIR}/${BUILD_DIST}/`echo $1 | sed 's/\.src\./.*./'` 55 if [ -f $EXPECTED_DEST_RPM_FILENAME]; then55 if [ -f "$EXPECTED_DEST_RPM_FILENAME" ]; then 56 56 echo 57 57 echo "Build of \"${PACKAGE}\" unnecessary. Current RPM already at " $EXPECTED_DEST_RPM_FILENAME … … 63 63 cp -a "$1" ${BUILDTEMP}/src/${PACKAGE} 64 64 cd ${BUILDTEMP}/src/${PACKAGE}; rpm2cpio $1 | cpio -i 65 fi 65 fi 66 66 else 67 67 # uses Subversion (svn) to generate more information for the RPM … … 82 82 SVN_BUILD_RELEASE=${SVN_BUILD_RELEASE}p 83 83 REBUILD="yes" 84 else # check if RPM has been built already 84 else 85 # check if RPM has been built already 85 86 # TODO: this check is broken for OpenSUSE build service, 86 87 # because version is changed later on 87 88 EXPECTED_DEST_RPM_FILENAME=${DEST_DIR}/${BUILD_DIST}/${PACKAGE}-${VERSION}-${SVN_BUILD_RELEASE}.*.rpm 88 if [ -f $EXPECTED_DEST_RPM_FILENAME]; then89 if [ -f "$EXPECTED_DEST_RPM_FILENAME" ]; then 89 90 echo 90 91 echo "Build of \"${PACKAGE}\" unnecessary. Current RPM already at " $EXPECTED_DEST_RPM_FILENAME
Note:
See TracChangeset
for help on using the changeset viewer.