Changeset 1198 for dassbuild/trunk/usr
- Timestamp:
- Oct 13, 2015, 5:04:59 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dassbuild/trunk/usr/bin/dassbuild_prepare.sh
r1173 r1198 211 211 # create DSC file from template 212 212 # replace version number in the description file 213 sed -e "s/^Version:.*/Version: $VERSION-1/ig" -e "/^Files:/,$ d" debian/${PACKAGE}.dsc >${BUILDTEMP}/src/${PACKAGE}/${PACKAGE}_${VERSION}-1.dsc 213 if [ -r "${PACKAGE}.dsc" ]; then 214 DSC="${PACKAGE}.dsc" 215 elif [ -r "debian/${PACKAGE}.dsc" ]; then 216 DSC="debian/${PACKAGE}.dsc" 217 else 218 echo "failed: debian directory exists, but ${PACKAGE}.dsc not found." 219 exit 1 220 fi 221 sed -e "s/^Version:.*/Version: $VERSION-1/ig" -e "/^Files:/,$ d" "$DSC" >${BUILDTEMP}/src/${PACKAGE}/${PACKAGE}_${VERSION}-1.dsc 214 222 215 223 # update the file list in the description file
Note:
See TracChangeset
for help on using the changeset viewer.