Changeset 739 for trunk/dassbuild/svn_build_prepare.sh
- Timestamp:
- May 26, 2009, 1:34:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dassbuild/svn_build_prepare.sh
r736 r739 11 11 12 12 # TODO: 13 # needs force parameter for tar. bz2creation13 # needs force parameter for tar.gz creation 14 14 15 15 … … 125 125 if [ -r "SOURCES" ]; then 126 126 # create a tar file from the sources 127 printf "creating $PACKAGE-$VERSION.tar.bz2: " 128 129 if [ "$REBUILD" -o ! -r ${BUILDTEMP}/src/${PACKAGE}/$PACKAGE-$VERSION.tar.bz2 ]; then 127 SOURCE_ARCHIVE="$PACKAGE-$VERSION.orig.tar.gz" 128 printf "creating $SOURCE_ARCHIVE: " 129 130 if [ "$REBUILD" -o ! -r ${BUILDTEMP}/src/${PACKAGE}/$SOURCE_ARCHIVE ]; then 130 131 rm -rf ${BUILDTEMP}/src/${PACKAGE} 131 132 mkdir -p ${BUILDTEMP}/src/${PACKAGE} 132 tar cv jf ${BUILDTEMP}/src/${PACKAGE}/$PACKAGE-$VERSION.tar.bz2--files-from SOURCES --exclude .svn --exclude "*~"133 tar cvzf ${BUILDTEMP}/src/${PACKAGE}/$SOURCE_ARCHIVE --files-from SOURCES --exclude .svn --exclude "*~" 133 134 else 134 135 printf "already exists. Skipped\n" 135 exit 1 136 printf " (${BUILDTEMP}/src/${PACKAGE}/$SOURCE_ARCHIVE)\n" 137 # exit, but without error, so that the calling script will continue 138 exit 0 136 139 fi 137 140 elif [ -r "SPECSOURCES" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.