linux: fixed check for initramfs_init.sh.

This commit is contained in:
Ricardo Martins 2015-06-29 17:23:00 +01:00
parent 7312395055
commit 900e6ae753

View File

@ -55,7 +55,7 @@ configure()
cp "$cfg_dir_system/cfg/linux-${version}.cfg" .config &&
if [ "$cfg_dir_system/files/initramfs_init.sh" ]; then
if [ -f "$cfg_dir_system/files/initramfs_init.sh" ]; then
$cmd_mkdir initramfs &&
$cmd_cp "$pkg_dir/files/initramfs.conf" . &&
$cmd_cp "$cfg_dir_system/files/initramfs_init.sh" initramfs/init.sh &&