From 900e6ae75306b2dbec04b29d0ca77924b6a45be9 Mon Sep 17 00:00:00 2001 From: Ricardo Martins Date: Mon, 29 Jun 2015 17:23:00 +0100 Subject: [PATCH] linux: fixed check for initramfs_init.sh. --- rules/linux/default.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/linux/default.bash b/rules/linux/default.bash index 04f5320..97f974c 100644 --- a/rules/linux/default.bash +++ b/rules/linux/default.bash @@ -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 &&