about summary refs log tree commit diff
path: root/xetcchanges
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-06-30 14:48:16 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-06-30 14:48:16 +0200
commit88a610364577df093598f9824f0ade1a6e1820a2 (patch)
treed6d602e6592f62d9767d1cdcb818870d0da6a25a /xetcchanges
parent05665095fe4f8299905d7f222b362397bec28619 (diff)
downloadxtools-88a610364577df093598f9824f0ade1a6e1820a2.tar.gz
xtools-88a610364577df093598f9824f0ade1a6e1820a2.tar.xz
xtools-88a610364577df093598f9824f0ade1a6e1820a2.zip
xetcchanges: quote default argument. v0.42
Diffstat (limited to 'xetcchanges')
-rwxr-xr-xxetcchanges2
1 files changed, 1 insertions, 1 deletions
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(" \\([^)]*\\)$", "")