diff options
author | maximilian attems <maks@debian.org> | 2010-04-07 03:27:25 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2010-04-07 03:27:52 +0200 |
commit | 45bcb8eb48e15dd75faa3eccd8c1cfacc14f8206 (patch) | |
tree | c17ee9ded6cbd1ffa78e4d302b072c042546a5b0 /mkinitramfs | |
parent | ea5eae180603a4dcf32215a3d66709cb565987e7 (diff) | |
download | initramfs-tools-45bcb8eb48e15dd75faa3eccd8c1cfacc14f8206.tar.gz initramfs-tools-45bcb8eb48e15dd75faa3eccd8c1cfacc14f8206.zip |
mkinitramfs: guard against empty EXTRA_CONF
nothing there to see allmost..
Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-x | mkinitramfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitramfs b/mkinitramfs index c8079ab..be983cf 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -66,7 +66,7 @@ done . "${CONFDIR}/initramfs.conf" EXTRA_CONF='' for i in /usr/share/initramfs-tools/conf.d/* ${CONFDIR}/conf.d/*; do - EXTRA_CONF="${EXTRA_CONF} $(basename $i \ + [ -e $i ] && EXTRA_CONF="${EXTRA_CONF} $(basename $i \ | grep '^[[:alnum:]][[:alnum:]\._-]*$' | grep -v '\.dpkg-.*$')"; done # FIXME: deprecated those settings on mkinitramfs run |