From 88a610364577df093598f9824f0ade1a6e1820a2 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 30 Jun 2016 14:48:16 +0200 Subject: xetcchanges: quote default argument. --- xetcchanges | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xetcchanges') diff --git a/xetcchanges b/xetcchanges index 070f8d9..bf9899b 100755 --- a/xetcchanges +++ b/xetcchanges @@ -1,7 +1,7 @@ #!/bin/sh # xetcchanges - show diff of /etc against binary packages -xbps-query -o ${1:-/etc/*} | +xbps-query -o ${1:-"/etc/*"} | awk 'function q(a) { gsub("\\47", "\47\\\47\47", a); return "\47"a"\47" } { sub(" \\([^)]*\\)$", "") -- cgit 1.4.1