live-build/functions/conffile.sh

17 lines
185 B
Bash
Raw Normal View History

2007-09-23 08:04:46 +00:00
#!/bin/sh
# conffile.sh - handle configuration files
set -e
Read_conffile ()
{
CONFFILE="${1}"
# Reading configuration file
if [ -r "${CONFFILE}" ]
then
. "${CONFFILE}"
fi
}