Codebase list live-build / 8475f9c5-0253-4e2e-8ca2-2452f010d466/main functions / breakpoints.sh
8475f9c5-0253-4e2e-8ca2-2452f010d466/main

Tree @8475f9c5-0253-4e2e-8ca2-2452f010d466/main (Download .tar.gz)

breakpoints.sh @8475f9c5-0253-4e2e-8ca2-2452f010d466/mainraw · history · blame

#!/bin/sh

## live-build(7) - System Build Scripts
## Copyright (C) 2006-2015 Daniel Baumann <[email protected]>
##
## This program 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 ()
{
	NAME="${1}"

	if [ "${_BREAKPOINTS}" = "true" ]
	then
		Echo_message "Waiting at %s" "${NAME}"
		read WAIT
	fi
}