compat: adjust get-compat-kernels for root usage
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Sat, 15 Dec 2012 00:20:34 +0000 (16:20 -0800)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Sat, 15 Dec 2012 00:20:34 +0000 (16:20 -0800)
commit7b4510d2d3de9bd8b849aed02806d261380c93e8
tree6829ae5f6dbc018b9726e06b360e52c487e05cac
parent1337db88b14e369de099e11d50a3038b64c5dfad
compat: adjust get-compat-kernels for root usage

If the user id is root then don't assume we want it
under / but instead use the current directory.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
bin/get-compat-kernels