From bf396ae4b8d2380bb8024f8d794771a7f3b48fa2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:04:49 +0200 Subject: Adding live-helper 1.0~a5-1. --- functions/breakpoints.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'functions/breakpoints.sh') diff --git a/functions/breakpoints.sh b/functions/breakpoints.sh index 7dfc24cea..70e473818 100755 --- a/functions/breakpoints.sh +++ b/functions/breakpoints.sh @@ -1,8 +1,19 @@ #!/bin/sh -# breakpoints.sh +# breakpoints.sh - run with breakpoints # Copyright (C) 2006-2007 Daniel Baumann # # 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. + +Breakpoint () +{ + if [ "${LH_BREAKPOINTS}" = "enabled" ] + then + BREAKPOINT="${1}" + + Echo_message "Waiting at ${BREAKPOINT}" + read + fi +} -- cgit v1.2.3