diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-07-02 16:56:38 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-07-02 17:02:06 +0200 |
commit | 320ef8bdebf867f18cf475bcf46dd578c6295fd7 (patch) | |
tree | dcfc9e8e196f56adb17757d89d964610ec906db6 | |
parent | da81935dbb203340e9f3b394d4f6f4e5b3aa63c4 (diff) | |
download | mkinitcpio-320ef8bdebf867f18cf475bcf46dd578c6295fd7.tar.gz mkinitcpio-320ef8bdebf867f18cf475bcf46dd578c6295fd7.tar.xz |
Fix -k /path when -b is used
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-rwxr-xr-x | mkinitcpio | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,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 |