chiark
/
gitweb
/
~ianmdlvl
/
autopkgtest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1de280c
)
copyup/copydown written not debugged
author
Ian Jackson
<ian@anarres>
Fri, 9 Dec 2005 18:51:10 +0000
(18:51 +0000)
committer
Ian Jackson
<ian@anarres>
Fri, 9 Dec 2005 18:51:10 +0000
(18:51 +0000)
virt-chroot/adt-virt-chroot
patch
|
blob
|
history
diff --git
a/virt-chroot/adt-virt-chroot
b/virt-chroot/adt-virt-chroot
index d34f3a32db0cf8fa9498511b5ea6bdf87e955545..2161aec97e49a18674750b9a2e9030ade8611a2e 100755
(executable)
--- a/
virt-chroot/adt-virt-chroot
+++ b/
virt-chroot/adt-virt-chroot
@@
-169,8
+169,8
@@
def cmd_execute(c, ce):
def copyupdown(c, ce, up_p):
cmdnumargs(c, ce, 2)
- sd = c[
2:4
]
- sde = ce[
2:4
]
+ sd = c[
1:
]
+ sde = ce[
1:
]
if not sd[0] or not sd[1]:
bomb("%s paths must be nonempty" % ce[0])
dirsp = sd[0][-1]=='/'