diff --git a/mods/legacy-initramfs/data/usr/local/bin/update-initramfs b/mods/legacy-initramfs/data/usr/local/bin/update-initramfs index 527b2ca..e24c792 100755 --- a/mods/legacy-initramfs/data/usr/local/bin/update-initramfs +++ b/mods/legacy-initramfs/data/usr/local/bin/update-initramfs @@ -4,8 +4,8 @@ set -e for i in $(find /lib/modules -name "*.ko"); do if [ "$(file "$i"|grep ELF)" != "" ]; then >&2 echo "> $i ..." - xz -9 $i - mv $i.xz $i + xz -9 "$i" + mv "$i.xz" "$i" fi done /usr/sbin/update-initramfs $*