Package: sbuild
Version: 0.35
Tags: patch

The file /usr/share/doc/sbuild/README.Debian says:

NOTE: sbuild must be run in the directory that has the
chroot-{stable,testing,unstable} symlink or it won't find
the chroot and will build in base.

so it's documented that if the chroot does not exist, it will work in
the same system sbuild is running.

Please, do not remove this feature, as it is a useful one (I use it).

diff -ru sbuild-0.35.orig/sbuild sbuild-0.35/sbuild
--- sbuild-0.35.orig/sbuild     2005-03-31 18:42:48.000000000 +0200
+++ sbuild-0.35/sbuild  2005-04-02 01:48:23.000000000 +0200
@@ -269,7 +269,7 @@
                "-o DPkg::Run-Directory=$absroot";
        $main::chroot_apt_op = '$CHROOT_OPTIONS';
 } else {                                                                       
                         
-       die "chroot-$main::distribution does not exist\n";
+       print "Warning: chroot-$main::distribution does not exist\n";
 }
 write_jobs_file();
 

Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to