[packages/bash-completion] - backslashes are important to shell; don't forget them if command is broken into several lines

adwol adwol at pld-linux.org
Fri Oct 22 22:34:27 CEST 2021


commit cdafefffa5f9f8453840957501d946ac24372b5a
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Fri Oct 22 22:32:57 2021 +0200

    - backslashes are important to shell; don't forget them if command is broken into several lines

 bash-completion-ip_addresses.patch | 4 ++--
 bash-completion.spec               | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/bash-completion.spec b/bash-completion.spec
index 9a1854f..871e64d 100644
--- a/bash-completion.spec
+++ b/bash-completion.spec
@@ -6,7 +6,7 @@ Summary:	bash-completion offers programmable completion for bash
 Summary(pl.UTF-8):	Programowalne uzupełnianie nazw dla basha
 Name:		bash-completion
 Version:	2.11
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL v2+
 Group:		Applications/Shells
diff --git a/bash-completion-ip_addresses.patch b/bash-completion-ip_addresses.patch
index 41c7ec8..720be3b 100644
--- a/bash-completion-ip_addresses.patch
+++ b/bash-completion-ip_addresses.patch
@@ -10,8 +10,8 @@
 -        command sed -e 's/[[:space:]]addr:/ /' -ne \
 -            "s|.*inet${n}[[:space:]]\{1,\}\([^[:space:]/]*\).*|\1|p")
 +    local addrs=$(
-+        LC_ALL=C ip -o addr show
-+    2>/dev/null |
++        LC_ALL=C ip -o addr show \
++    2>/dev/null | \
 +	command awk '{ gsub(/\/.*$/, "", $4); print $4 }' | sort)
      COMPREPLY+=($(compgen -W "$addrs" -- "${cur-}"))
  }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bash-completion.git/commitdiff/cdafefffa5f9f8453840957501d946ac24372b5a



More information about the pld-cvs-commit mailing list