summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-06-02 06:05:54 +0200
committerJustin Davis <jrcd83@gmail.com>2012-06-02 06:05:54 +0200
commit5ba118721397124d8fbb1dcb7f5897fe47f06f70 (patch)
treea67a64abd424db509ab8f13f0b7164727e16133d /bin
parent519d6ef44c5b1626080a4ec979f2b646709fc93e (diff)
downloadgenpkg-5ba118721397124d8fbb1dcb7f5897fe47f06f70.tar.gz
genpkg-5ba118721397124d8fbb1dcb7f5897fe47f06f70.tar.xz
Fix bug in modpkg's move command.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/modpkg2
1 files changed, 1 insertions, 1 deletions
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]
}
}