live-build/functions/breakpoints.sh

20 lines
439 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
# Copyright (C) 2006-2009 Daniel Baumann <daniel@debian.org>
2007-09-23 08:04:49 +00:00
#
# 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}"
if [ "${_BREAKPOINTS}" = "enabled" ]
2007-09-23 08:04:49 +00:00
then
Echo_message "Waiting at %s" "${NAME}"
read WAIT
2007-09-23 08:04:49 +00:00
fi
}