Skip to content
Commit 153f0114 authored by Jamey Sharp's avatar Jamey Sharp Committed by Michal Marek
Browse files

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: default avatarJamey Sharp <jamey@minilop.net>
Signed-off-by: default avatarJosh Triplett <josh@joshtriplett.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 43f67c98
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment