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 | |
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')
-rwxr-xr-x | scripts/build/bootstrap_cdebootstrap | 6 | ||||
-rwxr-xr-x | scripts/build/bootstrap_debootstrap | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/scripts/build/bootstrap_cdebootstrap b/scripts/build/bootstrap_cdebootstrap index 6aad9240a..8b295eb91 100755 --- a/scripts/build/bootstrap_cdebootstrap +++ b/scripts/build/bootstrap_cdebootstrap @@ -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) @@ -83,7 +83,7 @@ def main(): # dependencies if not os.path.isfile('/usr/bin/cdebootstrap'): - print('E: /usr/bin/cdebootstrap - no such file') + print('E: /usr/bin/cdebootstrap - no such file', file=sys.stderr) if verbose: print('I: cdebootstrap can be optained from:\n' @@ -96,7 +96,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') 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') |