summaryrefslogtreecommitdiff
path: root/mkinitramfs
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-12-02 18:51:54 +0100
committermaximilian attems <maks@debian.org>2006-12-02 18:51:54 +0100
commit78fe68bcad9d0850e6b9877903719cab7c73b475 (patch)
tree93ef2389992accc2aafc85af9a43809b79fef58c /mkinitramfs
parent3c1412b1312c4b12d953aa8413d928bc8c9ad031 (diff)
downloadinitramfs-tools-78fe68bcad9d0850e6b9877903719cab7c73b475.tar.gz
initramfs-tools-78fe68bcad9d0850e6b9877903719cab7c73b475.zip
- allow to disable backup
- new bzr location - functional copy_dir_modules() - modprobe a bunch of ppc windfarm modules in thermal - provide output on error
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-xmkinitramfs6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkinitramfs b/mkinitramfs
index 2fd0cc8..694f423 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -97,13 +97,13 @@ if [ -n "${UMASK}" ]; then
umask "${UMASK}"
fi
-touch $outfile
-outfile="$(readlink -f "$outfile")"
-
if [ -z "${outfile}" ]; then
usage
fi
+touch "$outfile"
+outfile="$(readlink -f "$outfile")"
+
# And by "version" we really mean path to kernel modules
# This is braindead, and exists to preserve the interface with mkinitrd
if [ ${#} -ne 1 ]; then