[pisa-src] r993 - trunk/openwrt/trunk

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Tue, 29 Sep 2009 13:19:18 +0200

Author: biurrun
Date: Tue Sep 29 13:19:18 2009
New Revision: 993

Log:
Add --force to patch command line so patches are not assumed to be reversed.
Before the test to see if a patch applied would always succeed because the
patch file was assumed to be reversed.

Modified:
   trunk/openwrt/trunk/configure_router.sh

Modified: trunk/openwrt/trunk/configure_router.sh
==============================================================================
--- trunk/openwrt/trunk/configure_router.sh     Mon Sep 28 16:28:07 2009        
(r992)
+++ trunk/openwrt/trunk/configure_router.sh     Tue Sep 29 13:19:18 2009        
(r993)
@@ -88,6 +88,6 @@
 cd "${OPENWRT_PATH}"
 
 for patch in ${PISA_OPENWRT_PATH}/patches/*.patch; do
-    patch --dry-run --batch --strip=1 --input=$patch &&
+    patch --dry-run --batch --force --strip=1 --input=$patch &&
         patch --batch --strip=1 --input=$patch
 done

Other related posts:

  • » [pisa-src] r993 - trunk/openwrt/trunk - Diego Biurrun