[lkml]   [1998]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Layout/Setup of Kernel
    Followup to:  <6pvgqe$7ua$>
    By author: (Nick Holloway)
    In newsgroup:
    > Since it is trivial to specify an alternative location for the kernel
    > source (the 1st argument), I don't think this is necessary. I also feel
    > uncomfortable when scripts start using $0 -- not 100% reliable.

    Actually $0 *IS* 100% reliable if done properly. The kernel expands
    this to the full path if you're using #!, and you don't decode the
    path if you're calling it using "sh foo". Hence if the first
    character isn't /, prepend `pwd`// and you're safe.

    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
    See for web page and full PGP public key
    I am Bahá'í -- ask me about it or see
    "To love another person is to see the face of God." -- Les Misérables

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:43    [W:0.020 / U:8.368 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site