[ADD] Removes patches included upstream

This commit is contained in:
Jorge Enrique Gómez Gómez 2021-12-21 16:23:36 -05:00
parent 1765d2eb15
commit 52dc0ef51e

View File

@ -39,17 +39,13 @@ pt_vendor ()
echo " Patch vendor modules"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
DEST=$DESTDIR/vendor/electronic_invoice_dian/
OPTIONS="--directory=$DEST --strip=1"
#patch $OPTIONS < patches/20210922_electronic-invoice-dian_changes-after-1-8.patch
SRC=$PWD
DEST=$DESTDIR/vendor/
OPTIONS="-p1 --verbose"
pushd $DEST
#git apply $OPTIONS $SRC/patches/20211209_hr-avancys_delete-without-sql-in-holiday-book.patch
# Included upstream:
# git apply $OPTIONS $SRC/patches/20211209_hr-avancys_delete-without-sql-in-holiday-book.patch
git apply $OPTIONS $SRC/patches/20211210_hr-avancys_fixes--payment-date-on-payslip.patch
popd
@ -61,6 +57,11 @@ pt_special ()
echo " Patch special electronic invoice modules"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
# Roll patch against 'special' repo (taken from 'vendor')
#DEST=$DESTDIR/vendor/electronic_invoice_dian/
#OPTIONS="--directory=$DEST --strip=1"
#patch $OPTIONS < patches/20210922_electronic-invoice-dian_changes-after-1-8.patch
SRC=$PWD
DEST=$DESTDIR/v14-electronic-documents/
OPTIONS="-p1 --verbose"