uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
22
pkgs/tools/misc/lesspipe/fix-paths.patch
Normal file
22
pkgs/tools/misc/lesspipe/fix-paths.patch
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
--- a/lesspipe.sh.in
|
||||
+++ b/lesspipe.sh.in
|
||||
@@ -48,8 +48,8 @@ if [[ "$LESS_ADVANCED_PREPROCESSOR" = '' ]]; then
|
||||
fi
|
||||
|
||||
filecmd() {
|
||||
- file -L -s "$@"
|
||||
- file -L -s -i "$@" 2> /dev/null | sed -n 's/.*charset=/;/p' | tr a-z A-Z
|
||||
+ @file@ -L -s "$@"
|
||||
+ @file@ -L -s -i "$@" 2> /dev/null | sed -n 's/.*charset=/;/p' | tr a-z A-Z
|
||||
}
|
||||
|
||||
sep=: # file name separator
|
||||
@@ -546,7 +546,7 @@ isfinal() {
|
||||
|
||||
# color requires -r or -R when calling less
|
||||
typeset COLOR
|
||||
- if [[ $(tput colors) -ge 8 && ("$LESS" = *-*r* || "$LESS" = *-*R*) ]]; then
|
||||
+ if [[ $(@tput@ colors) -ge 8 && ("$LESS" = *-*r* || "$LESS" = *-*R*) ]]; then
|
||||
COLOR="--color=always"
|
||||
fi
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue