[packages/adapter: 455/631] - patch -p0 to allow chunked adapterization from outside package directory

glen glen at pld-linux.org
Mon Sep 12 20:12:35 CEST 2016


commit bdaa92470cb0483d8f9dc4cdd0ae8898cd4ade59
Author: sparky <sparky at pld-linux.org>
Date:   Tue Dec 1 02:52:19 2009 +0000

    - patch -p0 to allow chunked adapterization from outside package directory
    
    Changed files:
        adapter.sh -> 1.41

 adapter.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/adapter.sh b/adapter.sh
index 3e1d324..cb698ab 100644
--- a/adapter.sh
+++ b/adapter.sh
@@ -251,7 +251,7 @@ adapterize() {
 								read ans
 								case "$ans" in
 								[yYoO]) # y0 mama
-									patch < $t
+									patch -p0 < $t
 									;;
 								[Q]) # Abort
 									break
@@ -285,3 +285,5 @@ if [ $# -ne 1 -o ! -f "$SPECFILE" ]; then
 fi
 
 adapterize
+
+# vim: ts=4:sw=4
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list