linux: fixed check for initramfs_init.sh.
This commit is contained in:
parent
7312395055
commit
900e6ae753
@ -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 &&
|
||||
|
Reference in New Issue
Block a user