summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2010-06-19 18:08:15 +0200
committermaximilian attems <maks@debian.org>2010-06-22 11:25:07 +0200
commit837f2614f79e8ea66385e6dcb2a6072ddb5ec186 (patch)
treeff631ac32b176b9a1a337cf078d71e594954c9a9 /scripts
parent2390db89c9bcf1f83405098ba9221ae7476187cb (diff)
downloadinitramfs-tools-837f2614f79e8ea66385e6dcb2a6072ddb5ec186.tar.gz
initramfs-tools-837f2614f79e8ea66385e6dcb2a6072ddb5ec186.zip
mkinitramfs: set nounset and errexit
Better catch both early than stupid mistakes cropping in. Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 068e901..364cc27 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -107,7 +107,7 @@ set_initlist()
continue
fi
- initlist="${initlist} ${si_x#${initdir}/}"
+ initlist="${initlist:-} ${si_x#${initdir}/}"
done
}