Newer
Older
#-------------------------------------------------------------------------------
# Bash function library for Mentat system.
#
# This file is part of Mentat system (https://mentat.cesnet.cz/).
#
# Copyright (C) since 2011 CESNET, z.s.p.o
# Use of this source is governed by the MIT license, see LICENSE file.
#-------------------------------------------------------------------------------
function ensure_link {
if [ -f $2 ] ; then
rm -f $2
fi
ln -s $1 $2
fi
}
function print_title {
echo "================================================================================"
echo " $1"
echo "================================================================================"
date
}
function print_subtitle {
echo "==========> $1"
}