live-build/functions/breakpoints.sh

20 lines
431 B
Bash
Raw Normal View History

2007-09-23 08:04:49 +00:00
#!/bin/sh
2007-09-23 08:04:49 +00:00
# breakpoints.sh - run with breakpoints
2007-09-23 08:04:49 +00:00
# Copyright (C) 2006-2007 Daniel Baumann <daniel@debian.org>
#
# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
# This is free software, and you are welcome to redistribute it
# under certain conditions; see COPYING for details.
2007-09-23 08:04:49 +00:00
Breakpoint ()
{
2007-09-23 08:04:51 +00:00
NAME="${1}"
2007-09-23 08:04:49 +00:00
if [ "${LH_BREAKPOINTS}" = "enabled" ]
then
2007-09-23 08:04:51 +00:00
Echo_message "Waiting at ${NAME}"
2007-09-23 08:04:49 +00:00
read
fi
}