about summary refs log tree commit diff
path: root/xetcchanges
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-02-11 17:55:27 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-02-11 17:55:27 +0100
commit12fe6680be056fca142a42a1c21d73da432c7bb6 (patch)
tree0e343cda81feb05800683118b4b6132651004ca5 /xetcchanges
parentbef15594968f4899db673a73e89f29b5f3482714 (diff)
downloadxtools-12fe6680be056fca142a42a1c21d73da432c7bb6.tar.gz
xtools-12fe6680be056fca142a42a1c21d73da432c7bb6.tar.xz
xtools-12fe6680be056fca142a42a1c21d73da432c7bb6.zip
xetcchanges: take parameter
Diffstat (limited to 'xetcchanges')
-rwxr-xr-xxetcchanges2
1 files changed, 1 insertions, 1 deletions
diff --git a/xetcchanges b/xetcchanges
index f3e4935..070f8d9 100755
--- a/xetcchanges
+++ b/xetcchanges
@@ -1,7 +1,7 @@
 #!/bin/sh
 # xetcchanges - show diff of /etc against binary packages
 
-xbps-query -o '/etc/*' |
+xbps-query -o ${1:-/etc/*} |
 	awk 'function q(a) { gsub("\\47", "\47\\\47\47", a); return "\47"a"\47" }
 	{
 		sub(" \\([^)]*\\)$", "")