mkinitramfs '-d' option fails
Bug #24096 reported by
Juanje Ojeda
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) |
Bug Description
If you try the '-d' option it just fails. It's because of two typo:
<patch>
--- mkinitramfs 2005-09-17 19:28:59.000000000 +0100
+++ mkinitramfs.mine 2005-10-17 03:42:29.666331280 +0100
@@ -11,8 +11,8 @@
while getopts "d:ko:r:" flag; do
case $flag in
d)
- CONFDIR="${OPTAGS}"
- if [ ! d "${CONFDIR}" ]; then
+ CONFDIR="${OPTARG}"
+ if [ ! -d "${CONFDIR}" ]; then
fi
</patch>
With this patch, work fine.
BTW, thanks for your work ;-)
To post a comment you must log in.
Err. whups. =) Thanks! I'll make sure it's in the next upload I do.