[pacman-dev] [PATCH] pkgdelta: pass correct args to create_delta

Dave Reisner dreisner at archlinux.org
Sat Aug 18 16:35:13 EDT 2012


Somewhere in the arg parse refactoring, the args array went away and we
simply stashed our remaining parameters as positionals. Fix this up so
that pkgdelta doesn't mysteriously hang in read_pkginfo().

Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
I probably broke this.

 scripts/pkgdelta.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/pkgdelta.sh.in b/scripts/pkgdelta.sh.in
index 3d80261..08835ac 100644
--- a/scripts/pkgdelta.sh.in
+++ b/scripts/pkgdelta.sh.in
@@ -215,6 +215,6 @@ if ! type xdelta3 &>/dev/null; then
 	exit 1
 fi
 
-create_xdelta "${args[@]}"
+create_xdelta "$@"
 
 # vim: set ts=2 sw=2 noet:
-- 
1.7.11.5



More information about the pacman-dev mailing list