scripts/gen_initramfs_list.sh: Convert to a /bin/sh script
authorJamey Sharp <jamey@minilop.net>
Thu, 5 May 2011 19:03:47 +0000 (12:03 -0700)
committerMichal Marek <mmarek@suse.cz>
Thu, 12 May 2011 14:48:39 +0000 (16:48 +0200)
commit153f01147065cb3628493dcb79417bc4474320c7
treecf5d3352b915da7c2a0274a23b61c9e7ffbe4191
parent43f67c98161c65f1b2e3af3a9ce6741850072c06
scripts/gen_initramfs_list.sh: Convert to a /bin/sh script

Replace bashisms with POSIX-compatible shell scripting.

Notably, de-duplicate '/' using a sed command from elsewhere in the same script
rather than "${name//\/\///}".

Commit by Jamey Sharp and Josh Triplett.

Signed-off-by: Jamey Sharp <jamey@minilop.net>
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/gen_initramfs_list.sh