fix path to configs

This commit is contained in:
udeved 2014-12-11 00:46:40 +01:00
parent d07c1a6d57
commit c11e55a5ad

View file

@ -191,9 +191,8 @@ command_create () {
if [ ! -z "${PKGLIST}" ]; then
msg2 "Installing packages to '${work_dir}/${IMAGE_FOLDER}/'"
# _mkchroot "${PKGLIST}"
local ret makepkg_conf="/usr/share/manjaro-tools/makepkg-${ARCH}.conf" \
pm_conf="/usr/share/manjaro-tools/pacman-mirrors-${BRANCH}.conf"
local ret makepkg_conf="@pkgdatadir@/makepkg-${ARCH}.conf" \
pm_conf="@pkgdatadir@/pacman-mirrors-${BRANCH}.conf"
#mkdir -p "${work_dir}/${IMAGE_FOLDER}/var/lib/pacman"
if "${QUIET}"; then
setarch "${ARCH}" \