Hi All,

Please tell me how to add header in patch file. Actually I tried creating
patch using "diff -Nur install.sh install_1.sh > gnowsys.patch".

Its giving error, when i am checking patch using "patch -p1 <
gnowsys.patch".


Error is :

patch -p1 < gnowsys.patch
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur install.sh install_1.sh
|--- install.sh    2009-05-06 15:09:03.000000000 +0530
|+++ install_1.sh    2009-07-07 15:00:18.000000000 +0530
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
9 out of 9 hunks ignored


Thanks and Regards
Sandeep Bhaskar
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to