Ticket Change Details
Overview

Artifact ID: 68f72ea668c2788b857dff7c7a0b95e12b4ab3a9
Ticket: dea848300b5e2d510bbbc226870d5a0088a008d0
kitcreator (common.sh) occasionally failed in Windows.
User & Date: anonymous 2018-08-01 02:59:35
Changes

  1. comment changed to:
    <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>
    
  2. foundin changed to: "0.11.0"
  3. login: "anonymous"
  4. severity changed to: "Minor"
  5. status changed to: "Open"
  6. title changed to:
    kitcreator (common.sh) occasionally failed in Windows.
    
  7. type changed to: "Build Problem"