summaryrefslogtreecommitdiff
path: root/mkinitramfs
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-08-13 10:24:04 +0200
committermaximilian attems <maks@debian.org>2006-08-13 10:24:04 +0200
commita84613ae7742190e50cc619eee462cc0cd17f6c8 (patch)
treebc8c40463e25ba64366eddf16212972ed64d17ef /mkinitramfs
parent659764e8cdb1dbffd4860348c113a5834ed4e09b (diff)
downloadinitramfs-tools-a84613ae7742190e50cc619eee462cc0cd17f6c8.tar.gz
initramfs-tools-a84613ae7742190e50cc619eee462cc0cd17f6c8.zip
- conf.d configuration test was bogus, fixes:
/usr/sbin/mkinitramfs: line 206: [: /etc/initramfs-tools/conf.d/resume: binary operator expected
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-xmkinitramfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitramfs b/mkinitramfs
index 1f0a736..3df30ec 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -203,7 +203,7 @@ done
echo "DPKG_ARCH=${DPKG_ARCH}" > ${DESTDIR}/conf/arch.conf
copy_exec "${CONFDIR}/initramfs.conf" /conf
for i in ${EXTRA_CONF}; do
- if [ -e "${CONFDIR}/conf.d/${i}" /conf/conf.d ]; then
+ if [ -e "${CONFDIR}/conf.d/${i}" ]; then
copy_exec "${CONFDIR}/conf.d/${i}" /conf/conf.d
elif [ -e "/usr/share/initramfs-tools/conf.d/${i}" ]; then
copy_exec "/usr/share/initramfs-tools/conf.d/${i}" /conf/conf.d