[arch-projects] [PATCH] [mkinitcpio] Fix -k /path when -b is used
Thomas Bächler
thomas at archlinux.org
Sat Jul 2 11:01:55 EDT 2011
Am 02.07.2011 16:56, schrieb Gerardo Exequiel Pozzi:
> Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
> ---
> mkinitcpio | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/mkinitcpio b/mkinitcpio
> index dec139b..d4ebf94 100755
> --- a/mkinitcpio
> +++ b/mkinitcpio
> @@ -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
How did you get into my spam filter?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20110702/81e870c2/attachment.asc>
More information about the arch-projects
mailing list