diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-06-27 01:11:20 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-06-27 02:21:49 +0200 |
commit | f00e41b98d2d3a89e36763a4c613d16bbe6e216c (patch) | |
tree | b34c9915403d31dbe761b6e1c94e3f74f5362a79 /functions | |
parent | 457db1af9f697a6dff4189cb46031688c78a61dc (diff) | |
download | mkinitcpio-f00e41b98d2d3a89e36763a4c613d16bbe6e216c.tar.gz mkinitcpio-f00e41b98d2d3a89e36763a4c613d16bbe6e216c.tar.xz |
functions: s/basedir/BASEDIR/
Thanks-to: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -278,9 +278,9 @@ add_binary() { if [[ ! -L $sodep ]]; then _add_file "$sodep" "$BASEDIR$sodep" "$(stat -c %a "$sodep")" else - resolved=$(readlink -e "$basedir$sodep") + resolved=$(readlink -e "$BASEDIR$sodep") dirname=${resolved%/*} - _add_dir "${dirname#$basedir}" 755 + _add_dir "${dirname#$BASEDIR}" 755 _add_symlink "$sodep" "${resolved#$BASEDIR}" _add_file "${resolved#$BASEDIR}" "$resolved" 755 fi |