diff --git a/scripts/inner_source_chroot_update.sh b/scripts/inner_source_chroot_update.sh index 980cbe2..b763bbc 100755 --- a/scripts/inner_source_chroot_update.sh +++ b/scripts/inner_source_chroot_update.sh @@ -95,9 +95,7 @@ for conf in 00-sabayon.package.use; do if [ -f "${target_dir}" ]; then # remove old file rm "${target_dir}" # ignore failure fi - if [ ! -d "${target_path}" ]; then - mkdir -p "${target_path}" # ignore failure - fi + mkdir -p "${target_dir}" # ignore failure cp "${repo_conf}" "${target_path}" # ignore fi