1 Jul
2011
1 Jul
'11
2:47 a.m.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> --- mkinitcpio | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mkinitcpio b/mkinitcpio index 459c828..72a2fb2 100755 --- a/mkinitcpio +++ b/mkinitcpio @@ -86,7 +86,7 @@ get_kernver() { return 0 fi - [[ -r "$kernel" ]] || return 1 + [[ -r "$BASEDIR$kernel" ]] || return 1 read _ kernver < <(file -b "$BASEDIR$kernel" | grep -o 'version [^ ]\+') if [[ "$kernver" && -e "$BASEDIR/lib/modules/$kernver" ]]; then -- 1.7.6