Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: b5b911b86f
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (20 sloc) 0.766 kb
VER=`cat "$SAKURADIR/VERSION"`
export SAKURA_VER=$VERSION
## enable/disable DEBUG
#export DEBUG=true
export DEBUG=false
if [ "nope$SAKURADIR" = "nope" ] ; then
echo "SAKURA> Sorry, SAKURADIR is missing. Please add to ~/.bashrc something like this:" >&2
echo " export SAKURADIR=~/path/to/your/sakura/repo/" >&2
echo "Or you might try the following: cat templates/bashrc.inject" >&2
fi
if [ ! -f $SAKURADIR/bashrc.local ] ; then
echo "File $SAKURADIR/bashrc.local not found, copying $SAKURADIR/bashrc.local. this may take a while..."
cp $SAKURADIR/bashrc.local.sample $SAKURADIR/bashrc.local
sleep 1
echo Done.
fi
# TODO change to run-all or source-all :)
for INCLUDE_FILE in $SAKURADIR/bashrc.d/*.include ; do
source "$INCLUDE_FILE"
done
Jump to Line
Something went wrong with that request. Please try again.