From 5ba118721397124d8fbb1dcb7f5897fe47f06f70 Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Sat, 2 Jun 2012 00:05:54 -0400 Subject: Fix bug in modpkg's move command. --- bin/modpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/modpkg b/bin/modpkg index cc3f234..4b62eb6 100755 --- a/bin/modpkg +++ b/bin/modpkg @@ -124,7 +124,7 @@ $modi eval { foreach pat $args { set idx [lsearch -glob $src "$pat*"] if {$idx == -1} { error "$pat was not found in $srcname" } - lappend $dest [lindex $src $idx] + lappend dest [lindex $src $idx] set src [lreplace $src $idx $idx] } } -- cgit v1.2.3-24-g4f1b