diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-04-07 07:55:25 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:08 +0200 |
commit | 39ef5a723c72d75e1e59bb04d44c266808b5eaf5 (patch) | |
tree | 0585a2fed80b0e2b4694266a3a74fc2a50341974 /scripts/build/bootstrap_debootstrap | |
parent | f9f13cb60ec0e3a83caebd9388f35540fb9bb46e (diff) | |
download | vyos-live-build-39ef5a723c72d75e1e59bb04d44c266808b5eaf5.tar.gz vyos-live-build-39ef5a723c72d75e1e59bb04d44c266808b5eaf5.zip |
Writing errors to stderr in Python stubs.
Diffstat (limited to 'scripts/build/bootstrap_debootstrap')
-rwxr-xr-x | scripts/build/bootstrap_debootstrap | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap index 262a7d5c2..7a541c7ea 100755 --- a/scripts/build/bootstrap_debootstrap +++ b/scripts/build/bootstrap_debootstrap @@ -40,7 +40,7 @@ def main(): ## Parsing Configuration if not os.path.isfile('config/build'): - print('E: config/build - no such file') + print('E: config/build - no such file', file=sys.stderr) sys.exit(1) @@ -88,7 +88,7 @@ def main(): # dependencies if not os.path.isfile('/usr/sbin/debootstrap'): - print('E: /usr/sbin/debootstrap - no such file') + print('E: /usr/sbin/debootstrap - no such file', file=sys.stderr) if verbose: print('I: debootstrap can be optained from:\n' @@ -101,7 +101,7 @@ def main(): # clean if os.path.exists('chroot'): - print('E: chroot already exists - unclean build') + print('E: chroot already exists - unclean build', file=sys.stderr) if verbose: print('I: use \'lb clean\' to clean up a previously incomplete build') |