From 6f081b9dd3b797f2e396acd4544cf39dfd2f5604 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Mon, 26 Nov 2001 17:07:14 +0000 Subject: 16291: Gergely Nagy: check ~/.dupload.conf, tweak sed expression to handle hooks. --- Completion/Debian/Command/_dupload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Debian/Command') diff --git a/Completion/Debian/Command/_dupload b/Completion/Debian/Command/_dupload index 85d294c71..81ac73f67 100644 --- a/Completion/Debian/Command/_dupload +++ b/Completion/Debian/Command/_dupload @@ -2,7 +2,7 @@ if (( ! $+_dupload_sites )); then _dupload_sites=( -$(grep "^\$cfg" /etc/dupload.conf | sed 's/^\$cfg{\(.*\)}.*$/\1/') +$(grep -hs "^\$cfg" /etc/dupload.conf ~/.dupload.conf | sed 's/^\$cfg{\([^}]*\)}.*$/\1/') ) fi -- cgit 1.4.1