Index: packaging/templates/generic-build-script =================================================================== RCS file: /cvs/cygwin-apps/packaging/templates/generic-build-script,v retrieving revision 1.24 diff -u -p -r1.24 generic-build-script --- packaging/templates/generic-build-script 19 Jun 2004 19:23:09 -0000 1.24 +++ packaging/templates/generic-build-script 20 Jun 2004 02:26:30 -0000 @@ -258,6 +258,9 @@ mkpatch() { ${srcinstdir}/${src_patch_name} ; \ rm -rf ${BASEPKG}-orig ) } +acceptpatch() { + cp --backup=numbered ${srcinstdir}/${src_patch_name} ${topdir} +} spkg() { (mkpatch && \ if [ "${SIG}" -eq 1 ] ; then \ @@ -332,6 +335,7 @@ while test -n "$1" ; do package) pkg ; STATUS=$? ;; pkg) pkg ; STATUS=$? ;; mkpatch) mkpatch ; STATUS=$? ;; + acceptpatch) acceptpatch ; STATUS=$? ;; src-package) spkg ; STATUS=$? ;; spkg) spkg ; STATUS=$? ;; finish) finish ; STATUS=$? ;;