<div><div>kitcreator occasionally stops with an error regarding access authority. If I change common.sh with the following patch, this error no longer occurs.</div><div><br /></div><div>I tried to run kitcreator on MSYS2 with MinGW-w64 toolchain in Windows7 32-bit and Windows10 64-bit.</div></div><div><br /></div><pre>diff -Ncr kitcreator-0.11.0/common/common.sh kitcreator-0.11.0-tmp/common/common.sh
*** kitcreator-0.11.0/common/common.sh 2018-06-04 02:40:33.000000000 +0900
--- kitcreator-0.11.0-tmp/common/common.sh 2018-07-18 09:44:30.558362800 +0900
***************
*** 109,117 ****
shopt -s dotglob
dir="$(echo ./*)"
if [ -d "${dir}" ]; then
! mv "${dir}"/* . || exit 1
! rmdir "${dir}" || exit 1
fi
exit 0
--- 109,117 ----
shopt -s dotglob
dir="$(echo ./*)"
if [ -d "${dir}" ]; then
! cp -a "${dir}"/* . || exit 1
! rm -fr "${dir}" || exit 1
fi
exit 0
</pre><div><br /></div>
|