#!/bin/sh

# breekit3
# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010, 2011, 2012, 2017,
# 2018, 2019 Joseph Rosevear

# This file is part of an application of SAM for GNU/Linux Slackware
# known as SAM-GLS.

# SAM-GLS is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.

# SAM-GLS is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

# (Slackware is a registered trademark of Patrick Volkerding and
# Slackware Linux, Inc.)



# Joseph Rosevear 120813 I rewrote this and made it a simple invocation
# of a new script called bstart.

# Joseph Rosevear 170130 I made this tailored copy.

# Joseph Rosevear 170130 I changed two lines.

# Joseph Rosevear 171219 I added bplace.

# Joseph Rosevear 180213 I made this more like begin.  I'm using place
# instead of bplace and I'm not exporting it.  I'm invoking brc and
# sourcing bprofile.

# Joseph Rosevear 180329 I cleaned up by removing some in-line comments.

# Joseph Rosevear 180402 I switched the order of invocation of brc and
# bprofile, because that's what is needed since I changed brc to be
# dependent on bprofile.

# Joseph Rosevear 191102 I made this (breekit3) from breekit.

# Joseph Rosevear 191102 I changed "bstart" to "bstart3", and I changed
# "bree" to "bree3".



# Joseph Rosevear 180213
# Define place.
place=`dirname $0`

#. /mnt/150605aa2/bprofile
# Joseph Rosevear 180213
. $place/bprofile

#/mnt/150605aa2/brc
# Joseph Rosevear 180213
$place/brc 

# Joseph Rosevear 170130 I changed two lines below.
# Joseph Rosevear 171219 I changed two lines below.
$place/bstart "love; exhand; export sam_bye_command=exit;

$place/bree3 \"$*\";
exit"
