Changeset 426


Ignore:
Timestamp:
Oct 10, 2012, 7:48:45 AM (8 years ago)
Author:
ehem
Message:

Remove plugin patches to DebWRT in opposite order of application to increase
the likelyhood of their successful removal. Use -N for normal patches to make
application/removal more consistent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/contrib/plugins/plugins.mk

    r414 r426  
    5252                        else \
    5353                                echo "Normal patch: $$patch"; \
    54                                 patch -p1 -d $(TOPDIR) <$(PLUGINS_DIR)/$$plugin/debwrt/$$patch; \
     54                                patch -N -p1 -d $(TOPDIR) <$(PLUGINS_DIR)/$$plugin/debwrt/$$patch; \
    5555                        fi \
    5656                done; \
     
    6161        @for plugin in $(PLUGIN_LIST); do \
    6262                echo "De-applying plugin '$$plugin' on DebWrt:"; \
    63                 for patch in `find $(PLUGINS_DIR)/$$plugin/debwrt/ -maxdepth 1 -mindepth 1 -type f -printf '%f\n' | sort`; do \
     63                for patch in `find $(PLUGINS_DIR)/$$plugin/debwrt/ -maxdepth 1 -mindepth 1 -type f -printf '%f\n' | sort -r`; do \
    6464                        if ( echo "$$patch" | grep -q ".rpatch$$" ); then \
    6565                                echo "Reverse patch: $$patch"; \
    66                                 patch -p1 -d $(TOPDIR) <$(PLUGINS_DIR)/$$plugin/debwrt/$$patch; \
     66                                patch -N -p1 -d $(TOPDIR) <$(PLUGINS_DIR)/$$plugin/debwrt/$$patch; \
    6767                        else \
    6868                                echo "Normal patch: $$patch"; \
Note: See TracChangeset for help on using the changeset viewer.