diff options
| author | maximilian attems <maks@debian.org> | 2006-07-16 21:54:14 +0200 |
|---|---|---|
| committer | maximilian attems <maks@debian.org> | 2006-07-16 21:54:14 +0200 |
| commit | 17d01b3434dac54ace5991029ed069b3d185ffd2 (patch) | |
| tree | c31f2ca8f0ca57242e7db41ef1bf12c86cc97fa6 /mkinitramfs | |
| parent | 8e9ecf2b5f9ced135e29d12fbe53c727a248934d (diff) | |
| download | initramfs-tools-17d01b3434dac54ace5991029ed069b3d185ffd2.tar.gz initramfs-tools-17d01b3434dac54ace5991029ed069b3d185ffd2.zip | |
massif whitespace cleanup
Diffstat (limited to 'mkinitramfs')
| -rwxr-xr-x | mkinitramfs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mkinitramfs b/mkinitramfs index 6c048df..81a859e 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -8,7 +8,7 @@ CONFDIR="/etc/initramfs-tools" verbose="n" errors_to="2>/dev/null" # BUSYBOXDIR="/usr/lib/initramfs-tools/bin/" -BUSYBOXDIR="/bin" +BUSYBOXDIR="/bin" OPTIONS=`getopt -o d:ko:r:v --long supported-host-version:,supported-target-version: -n "$0" -- "$@"` @@ -110,18 +110,18 @@ check_minkver ${version} ${CONFDIR}/hooks case "${version}" in /lib/modules/*/[!/]*) - ;; + ;; /lib/modules/[!/]*) - version="${version#/lib/modules/}" - version="${version%%/*}" - ;; + version="${version#/lib/modules/}" + version="${version%%/*}" + ;; esac case "${version}" in */*) - echo "$PROG: ${version} is not a valid kernel version" >&2 - exit 1 - ;; + echo "$PROG: ${version} is not a valid kernel version" >&2 + exit 1 + ;; esac if [ -d "${outfile}" ]; then @@ -157,7 +157,7 @@ export verbose export __TMPCPIOGZ for d in bin conf/conf.d etc lib modules sbin scripts; do - mkdir -p "${DESTDIR}/${d}" + mkdir -p "${DESTDIR}/${d}" done # MODULES=list case. Always honour. @@ -228,7 +228,7 @@ fi (cd "${DESTDIR}" && find . | cpio --quiet --dereference -o -H newc | gzip -9 >"${outfile}") || exit 1 if [ -s "${__TMPCPIOGZ}" ]; then - cat "${__TMPCPIOGZ}" >>"${outfile}" || exit 1 + cat "${__TMPCPIOGZ}" >>"${outfile}" || exit 1 fi if [ "${keep}" = "y" ]; then |
