summaryrefslogtreecommitdiffstats
path: root/mkinitcpio.d
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-03 18:21:36 +0200
committerDave Reisner <dreisner@archlinux.org>2011-07-04 22:11:31 +0200
commitab9e920b52ca2d178e174b04d89b3eec875deed7 (patch)
tree51ff373922a8c4fa3d1851299219de273c9e2dbb /mkinitcpio.d
parentc262a6dd486070018351b776d8612373590c2f74 (diff)
downloadmkinitcpio-ab9e920b52ca2d178e174b04d89b3eec875deed7.tar.gz
mkinitcpio-ab9e920b52ca2d178e174b04d89b3eec875deed7.tar.xz
mkinitcpio: refactor BASEDIR resolution
This should be performed first, to avoid false positives on any checks that would have been previously done before we knew our BASEDIR was valid. Remove usage of readlink here as well, and use pushd/pwd to resolve. The final trimming of any trailing slash (which might be the entire BASEDIR value) resolves an edge case bug where specifying a BASEDIR that resolved to '/' would cause explosions in add_symlink. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'mkinitcpio.d')
0 files changed, 0 insertions, 0 deletions