powerbuild obtiene el número de línea según el contenido de una línea
function print_debug_info() {
si [ $DEBUG -eq 1 ]; entonces
echo "[DEBUG]:" $*
sed -n "$ (($2-1)) p" $1
fi
}
DEBUG=1
DIR=tntRelease
CURRENT_DIR=`pwd`
MYSQL_DIR=$CURRENT_DIR/$DIR
print_debug_info $0 $LINENO $?