~asac/live-build/live-helper.install-kernel-with-no-initramfs

« back to all changes in this revision

Viewing changes to functions/conffile.sh

  • Committer: Daniel Baumann
  • Date: 2007-09-23 08:04:47 UTC
  • Revision ID: git-v1:f4383da69d4642521cb07f8f970d9c9c759b44ee
Tags: 1.0_a2-1
Adding live-helper 1.0~a2-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
        CONFFILE="${1}"
10
10
 
11
11
        # Reading configuration file
12
 
        if [ -r "${CONFFILE}" ]
 
12
        if [ -f "${CONFFILE}" ]
13
13
        then
14
 
                . "${CONFFILE}"
 
14
                if [ -r "${CONFFILE}" ]
 
15
                then
 
16
                        . "${CONFFILE}"
 
17
                else
 
18
                        echo "W: failed to read ${CONFFILE}"
 
19
                fi
15
20
        fi
16
21
}