diff options
author | Marcelo Leitner <mrl@mandriva.com> | 2007-05-29 15:21:42 +0000 |
---|---|---|
committer | Marcelo Leitner <mrl@mandriva.com> | 2007-05-29 15:21:42 +0000 |
commit | 7d4c5a5e499eb17191ddcbbada596df33831260b (patch) | |
tree | fb7bfa50c5f7275c75221c6d5dae9f75944301a1 /lib/Iurt | |
parent | 9bd992ff009c972410d859069fc8de4892a9a496 (diff) | |
download | iurt-7d4c5a5e499eb17191ddcbbada596df33831260b.tar iurt-7d4c5a5e499eb17191ddcbbada596df33831260b.tar.gz iurt-7d4c5a5e499eb17191ddcbbada596df33831260b.tar.bz2 iurt-7d4c5a5e499eb17191ddcbbada596df33831260b.tar.xz iurt-7d4c5a5e499eb17191ddcbbada596df33831260b.zip |
- Fix wrongly copied-pasted variable $chroot (should be $tmp_chroot)
Diffstat (limited to 'lib/Iurt')
-rw-r--r-- | lib/Iurt/Chroot.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index 0f52f56..c4b2f15 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -467,8 +467,8 @@ sub build_chroot { } system($sudo, 'chown', '-R', 499, "$tmp_chroot/home/builder"); sudo($run, $config, "--rm", "$tmp_chroot/var/lib/rpm/__db*"); - system("$sudo umount $chroot/proc &> /dev/null"); - system("$sudo umount $chroot/dev/pts &> /dev/null"); + system("$sudo umount $tmp_chroot/proc &> /dev/null"); + system("$sudo umount $tmp_chroot/dev/pts &> /dev/null"); return !system($sudo, 'tar', 'czf', $chroot_tar, '-C', $tmp_chroot, '.'); } } |