We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Using the 'diff' utility - use the command in the following fashion:
diff -urN yourOriginalUnmodifiedFile modifiedFile > yourPatch.patch
Now inside yourPatch.patch, it will look like below:
--- yourOriginalUnmodifiedFile 2015-10-15 10:08:57.904764115 -0700 +++ modifiedFile 2015-10-15 10:11:16.388761368 -0700 @@ -1,22 +1,24 @@ #!/bin/bash -PATH=/usr/bin:/home/pi/wiringPi/gpio +# wpi pin naming convention +PIN_IN=7 +PIN_OUT=8
--- yourOriginalUnmodifiedFile 2015-10-15 10:08:57.904764115 -0700
+++ modifiedFile 2015-10-15 10:11:16.388761368 -0700
@@ -1,22 +1,24 @@
#!/bin/bash
-PATH=/usr/bin:/home/pi/wiringPi/gpio
+# wpi pin naming convention
+PIN_IN=7
+PIN_OUT=8
Modify your patch to look like this:
--- a/shutdowncheck 2015-10-15 10:08:57.904764115 -0700 +++ b/shutdowncheck 2015-10-15 10:11:16.388761368 -0700 @@ -1,22 +1,24 @@ #!/bin/bash -PATH=/usr/bin:/home/pi/wiringPi/gpio +# wpi pin naming convention +PIN_IN=7 +PIN_OUT=8
--- a/shutdowncheck 2015-10-15 10:08:57.904764115 -0700
+++ b/shutdowncheck 2015-10-15 10:11:16.388761368 -0700
To use this patch, you can copy it into your package feeds folder like this:
To use this p
/feeds/non-atom/your-package/patches/